From d46990b7fb535434f4df2f3d24f3c3390d34a50a Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 28 Jul 2024 16:26:13 +0200 Subject: [PATCH] change multimedia switch trigger --- hosts/fw.cloonar.com/modules/home-assistant/multimedia.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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";