1
0
ansible-home-assistant/configuration/automations/bathroom-button.yaml

13 lines
325 B
YAML
Raw Normal View History

2021-01-01 02:59:21 +00:00
- id: button-bathroom-on
2021-01-07 00:48:14 +00:00
alias: '[Bathroom] Button On'
2021-01-01 02:59:21 +00:00
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
2021-01-01 02:59:21 +00:00
mode: single