Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106689

Person Entity... cant get Last Updated time stamp with Template

$
0
0

I have tried multiple templates and nothing works.

When the template runs in Dev Tool Template, the auto-fill even pulls in the person. then it gives me an error…

‘person’ is undefined

makes no sense.

tried Last_Changed and Last_Updated

{{ state_attr(person.NAME, 'friendly_name') }} was last updated at {{
  as_timestamp(states[trigger.entity_id].last_updated, default=0)
  | timestamp_local
  | timestamp_custom('%I:%M:%S %p')
}}

thx for the help

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>