diff options
author | Karel Kočí <cynerd@email.cz> | 2025-01-24 15:01:30 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2025-01-24 15:01:30 +0100 |
commit | 2f532dc573e35128ea82315289a0714579c9142a (patch) | |
tree | 124ee6bcfce253ca04633af2ebe659016ee06500 /nixos/home-assistant/sensors.nix | |
parent | 55be775b8478c78e3923fba46b6a49d86d81dfb2 (diff) | |
download | nixos-personal-master.tar.gz nixos-personal-master.tar.bz2 nixos-personal-master.zip |
This moves zigbee to spt-omnia.
Diffstat (limited to 'nixos/home-assistant/sensors.nix')
-rw-r--r-- | nixos/home-assistant/sensors.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/home-assistant/sensors.nix b/nixos/home-assistant/sensors.nix new file mode 100644 index 0000000..fadd4eb --- /dev/null +++ b/nixos/home-assistant/sensors.nix @@ -0,0 +1,19 @@ +[ + { + name = "Teplota"; + state_class = "measurement"; + state_topic = "bigclown/node/climate-monitor:0/thermometer/0:0/temperature"; + unit_of_measurement = "°C"; + } + { + name = "Vlhkost"; + state_class = "measurement"; + state_topic = "bigclown/node/climate-monitor:0/hygrometer/0:4/relative-humidity"; + unit_of_measurement = "%"; + } + { + name = "Osvětlení"; + state_class = "measurement"; + state_topic = "bigclown/node/climate-monitor:0/lux-meter/0:0/illuminance"; + } +] |