Add bedroom blinds button
This commit is contained in:
parent
03d07f5770
commit
53d22ed9ef
25
configuration/automations/bedroom-blinds.yaml
Normal file
25
configuration/automations/bedroom-blinds.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
- id: bedroom-blinds-button-up
|
||||||
|
alias: '[Bedroom Blinds] Up'
|
||||||
|
trigger:
|
||||||
|
- device_id: c90f649df514f80d36ca1a8fde308867
|
||||||
|
domain: zha
|
||||||
|
platform: device
|
||||||
|
type: remote_button_short_press
|
||||||
|
subtype: turn_on
|
||||||
|
action:
|
||||||
|
- service: cover.close_cover
|
||||||
|
entity_id: cover.bedroom_blinds
|
||||||
|
mode: single
|
||||||
|
|
||||||
|
- id: bedroom-blinds-button-down
|
||||||
|
alias: '[Bedroom Blinds] Down'
|
||||||
|
trigger:
|
||||||
|
- device_id: c90f649df514f80d36ca1a8fde308867
|
||||||
|
domain: zha
|
||||||
|
platform: device
|
||||||
|
type: remote_button_short_press
|
||||||
|
subtype: turn_off
|
||||||
|
action:
|
||||||
|
- service: cover.open_cover
|
||||||
|
entity_id: cover.bedroom_blinds
|
||||||
|
mode: single
|
Loading…
Reference in New Issue
Block a user