hansen-hasst/packages/livingroom/remote/remote.yaml

124 lines
3.5 KiB
YAML
Raw Permalink Normal View History

2022-11-20 15:11:00 +00:00
automation:
# Living Room button turn light on
- alias: living_room_light_button_turn_on
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- service: light.turn_on
target:
2023-07-14 23:04:33 +00:00
entity_id: light.livingroom_switch_lamp_table
2022-11-20 15:11:00 +00:00
# Living Room button turn light off
- alias: living_room_light_button_turn_off
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
action:
- service: light.turn_off
target:
2023-07-14 23:04:33 +00:00
entity_id: light.livingroom_switch_lamp_table
2022-11-20 15:11:00 +00:00
# Living Room button Netflix
- alias: living_room_light_button_tv
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
domain: zha
platform: device
type: remote_button_short_press
subtype: left
action:
- service: script.turn_on
target:
entity_id: script.netflix_and_chill
# Living Room button Spotify
- alias: living_room_light_button_music
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
domain: zha
platform: device
type: remote_button_short_press
subtype: right
action:
- service: script.turn_on
target:
entity_id: script.denon_listen_music
2023-07-14 23:04:33 +00:00
# Living Room button Turn On
- alias: living_room_turn_on_all_lights
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
domain: zha
platform: device
type: remote_button_long_release
subtype: dim_up
action:
- service: light.turn_on
target:
entity_id: light.living_room_lights
2022-12-28 16:54:28 +00:00
# Living Room button Turn Off
2022-11-20 15:11:00 +00:00
- alias: living_room_turn_off_everything
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
domain: zha
platform: device
type: remote_button_long_release
subtype: dim_down
action:
- service: light.turn_off
target:
2023-07-14 23:04:33 +00:00
entity_id: light.living_room_lights
#- service: script.turn_on
# target:
# entity_id: script.denon_tv_turn_off
2022-12-28 16:54:28 +00:00
#### Door Button ####
# Living Room door button turn light on
- alias: livingroom_button_door_turn_on
trigger:
- device_id: 85e0a07a3b952671b37fd008f7b2a299
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- service: light.turn_on
target:
2023-07-14 23:04:33 +00:00
entity_id: light.livingroom_switch_lamp_table
2022-12-28 16:54:28 +00:00
- alias: livingroom_button_door_turn_off
trigger:
- device_id: 85e0a07a3b952671b37fd008f7b2a299
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
action:
- service: light.turn_off
target:
2023-07-14 23:04:33 +00:00
entity_id: light.livingroom_switch_lamp_table
2022-12-28 16:54:28 +00:00
- alias: livingroom_button_door_turn_off_long
trigger:
- device_id: 85e0a07a3b952671b37fd008f7b2a299
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_down
action:
- service: light.turn_off
target:
entity_id: light.living_room_lights
- service: script.turn_on
target:
entity_id: script.denon_tv_turn_off