Hello, I have the following automation with the idea… when the temp is over 25 close to 10% when its under 20 open it and send a notification to my phone.
alias: Steuere Rolläden basierend auf Außentemperatur mit Condition
trigger:
platform: numeric_state
entity_id: weather.home
attribute: temperature
condition:
- condition: or
conditions:
- condition: numeric_state
entity_id: weather.home
attribute: temperature
above: 24.8
- condition: numeric_state
entity_id: weather.home
attribute: temperature
below: 20.3
action:
- choose:
- conditions:
- condition: template
value_template: "{{ trigger.to_state.state | float > 25 }}"
- condition: state
entity_id: cover.XYZ
state: open
sequence:
- service: cover.set_cover_position
entity_id: cover.XYZ
data:
position: 10
- service: notify.mobile_app
data:
message: >-
Die Rollläden wurden auf 10% geschlossen. Aktuelle Temperatur: {{ states('weather.home') }}
- conditions:
- condition: template
value_template: "{{ trigger.to_state.state | float < 20 }}"
- condition: state
entity_id: cover.XYZ
state: closed
sequence:
- service: cover.open_cover
entity_id: cover.XYZ
- service: notify.mobile_app
data:
message: >-
Die Rollläden wurden geöffnet. Aktuelle Temperatur: {{ states('weather.home') }}
description: ""
But when i try to save it, i get the following error message:
Message malformed: must contain at least one of below, above.