Hi Ionut,
thank you very much for your link. It seems there is an issue (maybe with formatting / indentation) with this example? I copied it and edited it the way I think is correct, but still get an error:
Invalid config for [automation]: [minutes] is an invalid option for [automation]. Check: automation->minutes. (See /config/configuration.yaml, line 18). Please check the docs at https://home-assistant.io/components/automation/
this is my code in automations.yaml so far:
- alias: Turn on light_sz-01 before Android Alarm
trigger:
platform: time
minutes: /1
seconds: 0
condition:
condition: template
value_template: '{{ (((as_timestamp(now()) | int) + 5*60) | timestamp_custom("%Y-%m-%d %H:%M:00")) == states.sensor.wecker.state }}'
action:
service: homeassistant.turn_on
entity_id: light.light_sz-01
maybe formatting is wrong?
Thank you!