1
0

Switch bedroom tv to smartthings integration

This commit is contained in:
Przemek Grondek 2022-08-29 20:12:12 +02:00
parent df8ee4c555
commit e91e5dbbe6

View File

@ -2,7 +2,7 @@
alias: '[Bedroom] TV On' alias: '[Bedroom] TV On'
trigger: trigger:
- platform: state - platform: state
entity_id: media_player.bedroom_tv entity_id: switch.bedroom_tv
to: 'on' to: 'on'
condition: condition:
- condition: state - condition: state
@ -15,7 +15,7 @@
alias: '[Bedroom] TV Off' alias: '[Bedroom] TV Off'
trigger: trigger:
- platform: state - platform: state
entity_id: media_player.bedroom_tv entity_id: switch.bedroom_tv
to: 'off' to: 'off'
condition: condition:
- condition: state - condition: state