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" = {
|
"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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue