I get for this automation an error:
description: Rollo Mitte Links nach unten (close)
mode: single
trigger:
- platform: time_pattern
minutes: /10
condition:
- condition: and
conditions:
- condition: numeric_state
entity_id: sensor.davis_solar
above: 250
for:
minutes: 5
- condition: state
entity_id: binary_sensor.rollo_condition
state: "on"
- condition: state
entity_id: cover.rollo_mitte_links
state: open
- condition: numeric_state
entity_id: sensor.sun_solar_azimuth
above: 180
action:
- service: cover.close_cover
target:
entity_id: cover.rollo_mitte_links
data: {}
alias: Rollo mitte links nach unten (close)
the following error:
2024-04-27 10:46:00.777 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Rollo mitte links nach unten (close)' could not be validated and has been disabled: extra keys not allowed @ data['condition'][0]['conditions'][0]['for']. Got {'minutes': 5}
I want that solar is over 250 for 5 minutes… before it starts the action.
can I add an id: rollo_mitte_lins, to have traces?
It is stored in a separate file in the automation subdir.
Thanks!