I'm Stumped, Last Changed Sensor

I have this that works, instead of last_changed, I have last_updated:

  - platform: template
    value_template: '{% if (as_timestamp(now())-as_timestamp(states.sensor.kitchen_motion.last_updated)) > 600 %}true{% endif %}'
1 Like