From f9b3acbd79cc6868228e217158e3399af2a21fd2 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 11 Nov 2020 14:40:37 +0100 Subject: [PATCH] hass: try to fix heater_off command --- configs/pepe/home-assistant.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/configs/pepe/home-assistant.nix b/configs/pepe/home-assistant.nix index 5c9740c..283ce8b 100644 --- a/configs/pepe/home-assistant.nix +++ b/configs/pepe/home-assistant.nix @@ -372,7 +372,7 @@ in { }; }; - hot = 28; + hot = 27; cold = 19; fyrtur_command = device: position: { @@ -386,13 +386,20 @@ in { in { heater_off = { sequence = [ - (heater_off "heater1") # office + #(heater_off "heater1") # office + #{ delay = delay; } + #(heater_off "heater2") # office + #{ delay = delay; } + #(heater_off "heater3") # bed room + #{ delay = delay; } + #(heater_off "heater4") # storage room + (heater_on "heater1" 5) # office { delay = delay; } - (heater_off "heater2") # office + (heater_on "heater2" 5) # office { delay = delay; } - (heater_off "heater3") # bed room + (heater_on "heater3" 5) # bed room { delay = delay; } - (heater_off "heater4") # storage room + (heater_on "heater4" 5) # storage room ]; }; heater_on1 = {