Update blinds automations
This commit is contained in:
parent
df41af6dd1
commit
049ae92a71
3 changed files with 150 additions and 12 deletions
|
@ -7,8 +7,31 @@
|
|||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.bedroom_blinds
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'closing'
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'opening'
|
||||
sequence:
|
||||
- service: cover.stop_cover
|
||||
entity_id: cover.bedroom_blinds
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'open'
|
||||
sequence:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.bedroom_blinds
|
||||
mode: single
|
||||
|
||||
- id: bedroom-blinds-button-down
|
||||
|
@ -20,6 +43,29 @@
|
|||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.bedroom_blinds
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'closing'
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'opening'
|
||||
sequence:
|
||||
- service: cover.stop_cover
|
||||
entity_id: cover.bedroom_blinds
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.bedroom_blinds
|
||||
state: 'open'
|
||||
sequence:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.bedroom_blinds
|
||||
mode: single
|
||||
|
|
|
@ -7,8 +7,31 @@
|
|||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.dining_blinds
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'closing'
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'opening'
|
||||
sequence:
|
||||
- service: cover.stop_cover
|
||||
entity_id: cover.dining_blinds
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'open'
|
||||
sequence:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.dining_blinds
|
||||
mode: single
|
||||
|
||||
- id: button-dining-blinds-down
|
||||
|
@ -20,6 +43,29 @@
|
|||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.dining_blinds
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'closing'
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'opening'
|
||||
sequence:
|
||||
- service: cover.stop_cover
|
||||
entity_id: cover.dining_blinds
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.dining_blinds
|
||||
state: 'open'
|
||||
sequence:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.dining_blinds
|
||||
mode: single
|
||||
|
|
|
@ -7,8 +7,31 @@
|
|||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.office_blind
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'closing'
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'opening'
|
||||
sequence:
|
||||
- service: cover.stop_cover
|
||||
entity_id: cover.office_blind
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'open'
|
||||
sequence:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.office_blind
|
||||
mode: single
|
||||
|
||||
- id: office-blinds-button-down
|
||||
|
@ -20,6 +43,29 @@
|
|||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.office_blind
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'closing'
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'opening'
|
||||
sequence:
|
||||
- service: cover.stop_cover
|
||||
entity_id: cover.office_blind
|
||||
- conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'closed'
|
||||
- condition: state
|
||||
entity_id: cover.office_blind
|
||||
state: 'open'
|
||||
sequence:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.office_blind
|
||||
mode: single
|
||||
|
|
Loading…
Reference in a new issue