Many updates
This commit is contained in:
109
packages/livingroom/remote/remote.yaml
Executable file
109
packages/livingroom/remote/remote.yaml
Executable file
@ -0,0 +1,109 @@
|
||||
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:
|
||||
entity_id: light.living_room_lights
|
||||
|
||||
# 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:
|
||||
entity_id: light.living_room_lights
|
||||
|
||||
# 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
|
||||
|
||||
# Living Room button Turn Off
|
||||
- alias: living_room_turn_off_everything
|
||||
trigger:
|
||||
- device_id: 86384e5da7e890f4a7a84d186383d1c1
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_release
|
||||
subtype: dim_down
|
||||
action:
|
||||
- service: script.turn_on
|
||||
target:
|
||||
entity_id: script.denon_tv_turn_off
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
|
||||
#### 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:
|
||||
entity_id: light.living_room_lights
|
||||
|
||||
- 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:
|
||||
entity_id: light.living_room_lights
|
||||
|
||||
- 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
|
Reference in New Issue
Block a user