Update Shutter

This commit is contained in:
2024-10-20 12:04:34 +02:00
parent 4c49a19231
commit 9560ce0f53

View File

@@ -62,14 +62,14 @@ actions:
- or: - or:
- and: - and:
- condition: trigger - condition: trigger
id: workday_trigger id: workday_morning_trigger
- condition: state - condition: state
entity_id: binary_sensor.workday_sensor entity_id: binary_sensor.workday_sensor
state: "on" state: "on"
- and: - and:
- condition: trigger - condition: trigger
id: id:
- holiday_trigger - holiday_morning_trigger
- condition: state - condition: state
entity_id: binary_sensor.workday_sensor entity_id: binary_sensor.workday_sensor
state: "off" state: "off"
@@ -80,7 +80,7 @@ actions:
- conditions: - conditions:
- and: - and:
- condition: trigger - condition: trigger
id: workday_trigger id: night_trigger
- condition: state - condition: state
entity_id: !input sensor_entity entity_id: !input sensor_entity
state: "off" state: "off"
@@ -89,7 +89,7 @@ actions:
attribute: elevation attribute: elevation
below: -5 below: -5
sequence: sequence:
- action: cover.open_cover - action: cover.close_cover
target: target:
entity_id: !input shutter_entity entity_id: !input shutter_entity
- conditions: - conditions: