From 2f532dc573e35128ea82315289a0714579c9142a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 24 Jan 2025 15:01:30 +0100 Subject: nixos: refactor the home automation This moves zigbee to spt-omnia. --- nixos/home-assistant/sensors.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nixos/home-assistant/sensors.nix (limited to 'nixos/home-assistant/sensors.nix') 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"; + } +] -- cgit v1.2.3