This is the whole automation,
- id: '1571931087327'
alias: Wake up
trigger:
- platform: time
at: 05:10:00
condition:
condition: and
conditions:
- condition: zone
entity_id: device_tracker.phone_pixel
state: zone.home
- condition: time
weekday:
- mon
- tue
- wen
- thu
- fri
action:
service: light.turn_on
data_template:
entity_id:
- light.bord_lys
- light.dc4f22d89416_192_168_116_130
color_name: >
{% set temp = states('sensor.apparent_temperature_high')|float %}
{% if temp < 10 %}
blue
{% elif temp <= 20 %}
yellow
{% else %}
red
{% endif %}
brightness: 250
and have tested everything work, but when i added the conditions i get a error
Invalid config for [automation]: extra keys not allowed @ data[âconditionâ][0][âconditionsâ][0][âstateâ]. Got None
not a valid value for dictionary value @ data[âconditionâ][0][âconditionsâ][0][âconditionâ]. Got None. Please check the docs at Automation - Home Assistant
And I canât seem to find the reason