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

58 lines
1.6 KiB
YAML
Executable File

#Guest Room Button Light
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
#Bedroom Button Light
- alias: bedroom_light_button
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: e0e71e574631d1fd7ebf960b883d1b6f
entity_id: light.bedroom_bulb_light
domain: light
# Office Button Light
- alias: office_light_button_single_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: ce016fbf6d9602740bbabe1fe9915c88
entity_id: light.office_bulb
domain: light
# Office Button Light double press
- alias: office_light_button_double_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_double_press
subtype: button
action:
- service: light.turn_on
target:
entity_id: light.office_bulb
data:
color_temp: 255
brightness: 255