Hi there,
I have a problem creating a automation.
When the temperature gets below 2 degrees, and the Cover is lower than 80% (so the value is >80 until 100), the cover has to move to 80%.
So it can not freeze against the windowsill.
So this is my code (which does nothing):
alias: Frostschutz Rollos
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.wetterstation_temperatur2
- sensor.kwl_aussentemperatur
below: 2
conditions: []
actions:
- if:
- condition: numeric_state
entity_id: cover.eg_garderobe_rollo
attribute: current_position
above: 80
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 80
target:
entity_id: cover.eg_garderobe_rollo
- if:
- condition: numeric_state
entity_id: cover.og_schlafzimmer_rollo
attribute: current_position
above: 80
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 80
target:
entity_id: cover.og_schlafzimmer_rollo
mode: single
What did I make wrong?
Cheers!