hansen-hasst/packages/light/buttons/automation.yaml

13 lines
373 B
YAML
Raw Normal View History

2022-08-03 22:35:03 +00:00
automation:
- alias: guestroom_light_button
trigger:
- device_id: c6b9d0a0f7a56e9f2966cdb8cb312614
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.guestroom_switch_lamp
domain: light