home-automation-home-assistant/config/switches/wallboard.yaml

9 rindas
301 B
YAML

2021-08-28 19:22:30 +00:00
- platform: template
switches:
wallboard_display:
friendly_name: Wallboard Display Toggle
value_template: "{{ is_state('binary_sensor.wallboard_hdmi_status', 'on') }}"
turn_on:
service: script.wallboard_hdmi_on
turn_off:
service: script.wallboard_hdmi_off