1
0
ansible-home-assistant/configuration/automations/bathroom-button.yaml
2021-05-25 00:13:16 +02:00

13 lines
325 B
YAML

- id: button-bathroom-on
alias: '[Bathroom] Button On'
trigger:
- device_id: 800c754de6e6b10259f371adc123b909
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- service: light.toggle
data:
entity_id: light.bathroom_lights
mode: single