updates
This commit is contained in:
63
packages/office/button.yaml
Executable file → Normal file
63
packages/office/button.yaml
Executable file → Normal file
@ -13,7 +13,7 @@ automation:
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_off
|
||||
entity_id: light.office_switch_socket
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
domain: light
|
||||
|
||||
@ -45,6 +45,65 @@ automation:
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_on
|
||||
entity_id: light.office_switch_socket
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
domain: light
|
||||
|
||||
#### Remote ####
|
||||
# Office remote turn light on
|
||||
- alias: office_light_remote_turn_on
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- type: turn_on
|
||||
entity_id: light.office_bulb
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
|
||||
# Office remote turn light off
|
||||
- alias: office_light_remote_turn_off
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- type: turn_off
|
||||
entity_id: light.office_bulb
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
|
||||
# Office remote turn pc on
|
||||
- alias: office_light_remote_turn_on_pc
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: left
|
||||
action:
|
||||
- type: turn_on
|
||||
entity_id: switch.tower
|
||||
- type: turn_on
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
domain: light
|
||||
|
||||
# Office remote turn all off
|
||||
- alias: office_light_remote_turn_off_all
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_press
|
||||
subtype: dim_down
|
||||
action:
|
||||
- type: turn_off
|
||||
entity_id: light.office_bulb
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
0
packages/office/pc.yaml
Executable file → Normal file
0
packages/office/pc.yaml
Executable file → Normal file
Reference in New Issue
Block a user