change multimedia switch trigger

This commit is contained in:
2024-07-28 16:26:13 +02:00
parent a54a56ca6a
commit d46990b7fb

View File

@@ -291,8 +291,11 @@
}; };
"automation multimedia scene switch" = { "automation multimedia scene switch" = {
trigger = { trigger = {
platform = "state"; platform = "event";
entity_id = "sensor.computer_power"; event_type = "button_pressed";
event_data = {
id = [ 254 235 105 198 ];
};
}; };
condition = { condition = {
condition = "state"; condition = "state";