erikp
(Erik)
February 27, 2020, 8:02pm
1
I’d like to be able to see the current state of my motions sensors, and also how long ago they changed state (basically the last time someone triggered a motion).
So something like the attached picture, but for a couple of motion sensors.
Image source: https://developers.home-assistant.io/docs/frontend_add_card
Any advice? None of the default cards seem to have this as a GUI option.
Vlad
(Vladislav)
February 27, 2020, 8:08pm
2
Add: secondary_info: “last-changed” after - entity: entity_name
erikp
(Erik)
February 27, 2020, 8:18pm
3
Thanks, for helping out…
I try adding the code you suggested here;
As such;
"type: entities
entities:
entity: binary_sensor.motion_sensor_altan secondary_info: “last-changed”"
But I get this result;
“bad indentation of a sequence entry at line 3, column 61: … tion_sensor_altan secondary_info: “last-changed” ^”
Vlad
(Vladislav)
February 27, 2020, 8:20pm
4
- entity: sensor.dark_sky_temperature
secondary_info: "last-changed"
2 Likes
erikp
(Erik)
February 27, 2020, 8:23pm
5
Thanks Vlad - that worked!