change multimedia switch trigger
This commit is contained in:
parent
a54a56ca6a
commit
d46990b7fb
1 changed files with 5 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue