I hope this question has a simple answer, unfortuantely I couln’t find anything in the documentation or the forums…
I want to display the last-changed State for a Sensor in die Lovelace UI. But I don’t like relative time. Is there any way to display secondary-info as datetime?
Currently I have a entities tile with this configuaration
Thats what I did… With a little fixing of multiple-entity-row…
Maybe I should make a PR for it. Its rather easy to also “look” into an entities “metadata” when resolving the value for secondary_info.
But unfortunately there were some changes in multiple-entity-row since Sept 2021. I’ll try to incorporate my changes into the latest version and check if it still works
Unfortunately I don’t have any experience with hacs, since I use HA in a docker container. So I don’t know if overriding the file is a problem or not with hacs.
I use the manual configuration via Settings → Dashboards → “…” → Resources.
This works fine and displays for example this output:
for this config
entity: binary_sensor.my_sensor
name: Main Door
type: custom:multiple-entity-row
secondary_info:
attribute: last_changed
format: datetime