From 9d70db25ac8e507783ee521b36f9c4423e27fbe8 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sun, 7 Dec 2025 20:08:11 -0500 Subject: HA: Reararnge smart plugs - More reliable smart plug on panel light - SAD lamp timer --- hostnix/elmo/home-assistant.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hostnix/elmo') diff --git a/hostnix/elmo/home-assistant.nix b/hostnix/elmo/home-assistant.nix index 3c62fd4..a0c89f2 100644 --- a/hostnix/elmo/home-assistant.nix +++ b/hostnix/elmo/home-assistant.nix @@ -448,6 +448,7 @@ }; action = [ (ha.action.off "light.panel_light") + (ha.action.off "switch.dot") (ha.action.off "climate.bedroom_cool") (ha.action.off "climate.air_conditioner_1") ]; @@ -476,6 +477,7 @@ ]; action = [ (ha.action.on "light.panel_light") + (ha.action.on "switch.dot") ]; } @@ -616,9 +618,9 @@ } ]; sequence = [ - (ha.action.off "switch.dot") + (ha.action.off "switch.pinky") { delay = 10; } - (ha.action.on "switch.dot") + (ha.action.on "switch.pinky") { delay = 30; } ]; }; -- cgit v1.3.1