aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/hass
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/machine/hass')
-rw-r--r--nixos/machine/hass/light.nix13
-rw-r--r--nixos/machine/hass/sensors.nix19
2 files changed, 0 insertions, 32 deletions
diff --git a/nixos/machine/hass/light.nix b/nixos/machine/hass/light.nix
deleted file mode 100644
index a9d158b..0000000
--- a/nixos/machine/hass/light.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-[
- {
- name = "RGB Osvětlení";
- command_topic = "homeassistant/led-strip";
- brightness_scale = 100;
- brightness_command_topic = "bigclown/node/power-controller:0/led-strip/-/brightness/set";
- #brightness_state_topic = "bigclown/node/power-controller:0/led-strip/-/brightness/set";
- rgb_command_template = ''"#{{"%02x" % red}}{{"%02x" % green}}{{"%02x" % blue}}"'';
- rgb_command_topic = "bigclown/node/power-controller:0/led-strip/-/color/set";
- #rgb_value_template = ''{{int(value[2:4],16)}},{{int(value[5:7],16)}},{{int(value[8:10],16)}}'';
- #rgb_state_topic = "bigclown/node/power-controller:0/led-strip/-/color/set";
- }
-]
diff --git a/nixos/machine/hass/sensors.nix b/nixos/machine/hass/sensors.nix
deleted file mode 100644
index fadd4eb..0000000
--- a/nixos/machine/hass/sensors.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-[
- {
- 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";
- }
-]