How to read last motion from binary_sensor

Hi,

I have a Philips Hui motion detector and I try to read the last motion. Any Idea ?

This gives me just unknown:

Last movement was:  {{states('binary_sensor.motion_sensor_wohnzimmer_motion.last_triggered')}}{{ "\n" }}

Thanks,
mcb

Try this:

{{ states.binary_sensor.motion_sensor_wohnzimmer_motion.last_updated.timestamp() | timestamp_local }}
2 Likes