diff --git a/instances/odin/configuration.nix b/instances/odin/configuration.nix index d66cf8b..11ad687 100644 --- a/instances/odin/configuration.nix +++ b/instances/odin/configuration.nix @@ -237,16 +237,17 @@ in } ]; - # smartir = { }; - # climate = [{ - # platform = "smartir"; - # name = "Climatizzatore"; - # unique_id = "climatizzatore"; - # device_code = 1946; - # controller_data = "switch.tz3290_gnl5a6a5xvql7c2a_ts1201_interruttore"; - # temperature_sensor = "sensor.tz3000_fllyghyj_ts0201_temperature"; - # humidity_sensor = "sensor.tz3000_fllyghyj_ts0201_humidity"; - # }]; + smartir = { }; + climate = [{ + platform = "smartir"; + name = "Climatizzatore"; + unique_id = "climatizzatore"; + device_code = 1946; + controller_data = "f8:44:77:ff:fe:51:98:98"; + temperature_sensor = "sensor.tz3000_fllyghyj_ts0201_temperature"; + humidity_sensor = "sensor.tz3000_fllyghyj_ts0201_humidity"; + power_sensor = "binary_sensor.climatizzatore_acceso"; + }]; }; configDir = "/var/lib/hass"; configWritable = true;