The below is not triggering for some reason. I can't see what I've done wrong?
alias: Temperature Change Test
trigger:
- platform: state
entity_id: sensor.esphome_web_472d4d_living_room_temperature
attribute: state
condition: - condition: template
value_template: >-
{{ (trigger.to_state.state | float) - (trigger.from_state.state | float) >
0.1 }} - condition: time
after: "05:30:00"
before: "11:00:00"
action: - service: light.turn_on
target:
entity_id: light.kitchen_light_1
data: {}