#Temperature Change Trigger

1 messages · Page 1 of 1 (latest)

lean remnant
#

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: {}
median carbonBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

neat sparrow
#

Do also check the trace