I have the “last changed” secondary information value displayed for a few of my listed entities. However, if I reboot Home Assistant (system update) or reboot my router (just because), there is now a gap placement value of “unknown” or “unavailable” inserted for that entity which causes the “last changed” value to use when calculating the duration.
Is there a system setting or something else I can easily set to ignore all of the “unknown” or “unavailable” entity state gaps and always calculate from the previously changed available “live” state?
Sorry still trying to work out how to get this logic into an entity-filter dashboard whete I show secondary_info of whats playing on Plex, but the metadata often comes up with one of the fields as “unknown”. I just want the word to dissapear:
Thanks for this I’ll try it. Does this go in my configuration.yaml or in the dashboard YALM itself under the - entity ? I’m confused, I think the secondary_info i’m surfacing on my dashboard are in fact attributes, so will this till work?