Person Cards - Show Off Yours

OK, I’ve tweaked this more or less to my liking. A couple of changes I made to @VaReTaS’s excellent card:

  • I use a separate sensor for each person to populate location from either defined zones or from an input_select which determines whether each person is Home, Away, Just Left, Just Arrived, or Extended Away. Those states come out of a Node-RED flow I put in place a few years ago (can share if interested), and the sensors just provide more detail than “Home” or “Away:”

  • On the card itself, I’ve replaced the battery and Wi-Fi sensors when the person is away. I’ve also added a time for when the person either left or arrived at home. I didn’t change any of the custom field names, though, so hopefully it’s not too confusing!

updated YAML for sensors & cards in this comment below

The result is a card that shows different info based on whether the person is home or away. On the left is a home person. On the right is an away person at a known location (defined zone). If a person is away and not in a defined zone, the border is red.

I’m sure I could lay this out a bit better, but it’s way more informative than my person cards were this time last week.

I never actually got the Proximity sensors to work, so I can’t add direction of travel as a sensor to this card. That might be the only thing I can think I would add at this time.

EDIT: I thought I might add the ability to call people from this card (!) using hold_action: navigate, but so far it’s not working for me:

hold_action:
  action: navigate
  navigation_path: tel:+15555555555

EDIT 2: updated arrival/departure sensors using from those in this post. Waaaay better.

4 Likes