diff --git a/hosts/fw.cloonar.com/modules/home-assistant/multimedia.nix b/hosts/fw.cloonar.com/modules/home-assistant/multimedia.nix index ea55f50..2a50fb2 100644 --- a/hosts/fw.cloonar.com/modules/home-assistant/multimedia.nix +++ b/hosts/fw.cloonar.com/modules/home-assistant/multimedia.nix @@ -291,8 +291,11 @@ }; "automation multimedia scene switch" = { trigger = { - platform = "state"; - entity_id = "sensor.computer_power"; + platform = "event"; + event_type = "button_pressed"; + event_data = { + id = [ 254 235 105 198 ]; + }; }; condition = { condition = "state";