Add button for blinds
This commit is contained in:
parent
a00f77c559
commit
03d07f5770
1 changed files with 25 additions and 0 deletions
25
configuration/automations/living-room-blinds.yaml
Normal file
25
configuration/automations/living-room-blinds.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
- id: living-room-blinds-button-up
|
||||
alias: '[Living Room Blinds] Up'
|
||||
trigger:
|
||||
- device_id: a47c928b108240ed8866f9f7a70bc844
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.living_room_blind
|
||||
mode: single
|
||||
|
||||
- id: living-room-blinds-button-down
|
||||
alias: '[Living Room Blinds] Down'
|
||||
trigger:
|
||||
- device_id: a47c928b108240ed8866f9f7a70bc844
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.living_room_blind
|
||||
mode: single
|
Loading…
Reference in a new issue