This commit is contained in:
2023-07-15 01:04:33 +02:00
parent 900f180c69
commit 139a655400
41 changed files with 479 additions and 127 deletions

0
packages/livingroom/button/button.yaml Executable file → Normal file
View File

30
packages/livingroom/remote/remote.yaml Executable file → Normal file
View File

@ -10,7 +10,7 @@ automation:
action:
- service: light.turn_on
target:
entity_id: light.living_room_lights
entity_id: light.livingroom_switch_lamp_table
# Living Room button turn light off
- alias: living_room_light_button_turn_off
@ -23,7 +23,7 @@ automation:
action:
- service: light.turn_off
target:
entity_id: light.living_room_lights
entity_id: light.livingroom_switch_lamp_table
# Living Room button Netflix
- alias: living_room_light_button_tv
@ -51,6 +51,19 @@ automation:
target:
entity_id: script.denon_listen_music
# 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
# Living Room button Turn Off
- alias: living_room_turn_off_everything
trigger:
@ -60,12 +73,13 @@ automation:
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
entity_id: light.living_room_lights
#- service: script.turn_on
# target:
# entity_id: script.denon_tv_turn_off
#### Door Button ####
# Living Room door button turn light on
@ -79,7 +93,7 @@ automation:
action:
- service: light.turn_on
target:
entity_id: light.living_room_lights
entity_id: light.livingroom_switch_lamp_table
- alias: livingroom_button_door_turn_off
trigger:
@ -91,7 +105,7 @@ automation:
action:
- service: light.turn_off
target:
entity_id: light.living_room_lights
entity_id: light.livingroom_switch_lamp_table
- alias: livingroom_button_door_turn_off_long
trigger: