29 lines
728 B
YAML
29 lines
728 B
YAML
- id: "1710275740260"
|
|
alias: Close lab blinds
|
|
description: ""
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: 0
|
|
action:
|
|
- choose:
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.lab_window_ac
|
|
state: "on"
|
|
sequence:
|
|
- service: cover.set_cover_position
|
|
target:
|
|
entity_id: cover.lab_blinds_right_cover
|
|
data:
|
|
position: 40
|
|
- service: cover.close_cover
|
|
target:
|
|
entity_id: cover.lab_blinds_left_cover
|
|
|
|
default:
|
|
- service: cover.close_cover
|
|
target:
|
|
entity_id: cover.lab_blinds
|
|
mode: single
|