Hi there,
I would like to implement an antifreeze-function for my covers.
If the temperature gets below 2 degrees and the Coverposition is higher than 80%, the cover has to drive up to 80%.
So this is, what I made:
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
Can someone help me, what is wrong?
Kind regards!