Implement Wallboard Display Toggle with Automations
Tá an tiomantas seo le fáil i:
25
automations/wallboard.yaml
Comhad gnáth
25
automations/wallboard.yaml
Comhad gnáth
@@ -0,0 +1,25 @@
|
||||
- alias: Wallboard On
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.anyone_home
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: sensor.harmony_activity
|
||||
from: 'Fire TV sehen'
|
||||
action:
|
||||
service: switch.turn_on
|
||||
data:
|
||||
entity_id: switch.wallboard_display
|
||||
|
||||
- alias: Wallboard Off
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.anyone_home
|
||||
to: 'off'
|
||||
- platform: state
|
||||
entity_id: sensor.harmony_activity
|
||||
to: 'Fire TV sehen'
|
||||
action:
|
||||
service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.wallboard_display
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir