Hi everybody,
I try to set up an automation that triggers upon any cover position below a defined one:
trigger:
- platform: template
value_template: "{{ state_attr('cover.wohnzimmer_terasseture_rolladen', 'current_position') | int < 30 }}"
This does not work as
Message malformed: required key not provided @ data['trigger'][2]['platform']
Any help would be appreciated,
thank you!
Braaak