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

100 lines
2.8 KiB
YAML
Raw Normal View History

2022-12-28 16:54:28 +00:00
# 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 ######
# Bedroom Button Philipp Light single press
- alias: bedroom_light_button_philipp_single_press
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: f472f0815009f1343028a8d6a41b34ae
entity_id: light.bedroom_bulb_philipp_light
domain: light
# Bedroom Button Philipp Light double press
- alias: bedroom_light_button_philipp_double_press
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_double_press
subtype: button
action:
- type: toggle
device_id: e0e71e574631d1fd7ebf960b883d1b6f
entity_id: light.bedroom_bulb_light
domain: light
# Bedroom Button Philipp Light long press
- alias: bedroom_light_button_philipp_long_press
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_long_press
subtype: button
action:
- service: light.toggle
target:
entity_id: light.bedroom_lights
# Bedroom Button Toni Light
- alias: bedroom_light_button_toni_single_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: f472f0815009f1343028a8d6a41b34ae
entity_id: light.bedroom_bulb_toni_light
domain: light
# Bedroom Button Toni Light double press
- alias: bedroom_light_button_toni_double_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_double_press
subtype: button
action:
- type: toggle
device_id: e0e71e574631d1fd7ebf960b883d1b6f
entity_id: light.bedroom_bulb_light
domain: light
# Bedroom Button Toni Light long press
- alias: bedroom_light_button_toni_long_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_long_press
subtype: button
action:
- service: light.toggle
target:
entity_id: light.bedroom_lights