From 1f12a7d68a8eee5ef619370ecfb02e1624f6ae70 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 2 Mar 2025 22:11:50 +0100 Subject: [PATCH] fixup! WIP: Odin HASS -> smartir --- flake.nix | 3 +++ instances/odin/configuration.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 704342a..1a7efce 100644 --- a/flake.nix +++ b/flake.nix @@ -254,6 +254,9 @@ hash = "sha256-fOd2MTBi0q+lBl6JYV1yGp9A42+BOD6/2SxYSBKy8fE="; }; patches = [ ]; + postPatch = '' + sed -i 's/Broadlink/ZHA/' codes/1964.json + ''; }); }; }; diff --git a/instances/odin/configuration.nix b/instances/odin/configuration.nix index bac5f71..f6b837c 100644 --- a/instances/odin/configuration.nix +++ b/instances/odin/configuration.nix @@ -244,7 +244,7 @@ in platform = "smartir"; name = "Climatizzatore"; unique_id = "climatizzatore"; - device_code = 1946; + device_code = 50; controller_data = "switch.tz3290_gnl5a6a5xvql7c2a_ts1201_interruttore"; temperature_sensor = "sensor.tz3000_fllyghyj_ts0201_temperature"; humidity_sensor = "sensor.tz3000_fllyghyj_ts0201_humidity";