Frontend: Person Card

Created on 9 Aug 2020  路  16Comments  路  Source: home-assistant/frontend

The request

image

The card would be able to take a person entity and auto-fill in the Image, battery, and location if available.

It would then work as an entities card on the bottom where you supply entities that you want on the card and it would display them.

This is a quick mock-up of what I think it should look like. Looking for feedback on if people would use this or no? As well as feedback on the design.

The alternatives

image

Creating a picture entities card and doing it basically the same way

feature-request

Most helpful comment

Here is what I had mocked up for the config redesign. Just another idea:

image

I like the first screenshot a lot, but it would also require a cover picture.

All 16 comments

This looks great! I would definitely use this and I think many others would as well. I do something kind of similar with the custom button card but yours looks way nicer 馃槂

One thing I think would be neat to add is Proximity integration support in this. So if the person is home, it could just say "Home" like your mockup, but if they're away it could have secondary text that says "5 miles away" or "Driving towards home" or some additional context like that.

I also like the comment by @thomasloven to make it a header, so it can be used above an entities card

That may be the route, but I would want it as a stand alone card for ease of use. That was more talking about you supply it entities and it displays them. Reason for that is from my mock the state is actually the text after the icon not the name of the entity. As the entity should be related to the person I dont think having the entity name is very usefull

Here is what I had mocked up for the config redesign. Just another idea:

image

I like the first screenshot a lot, but it would also require a cover picture.

Hi! I started making this card. Its my first lovelace card, so i bet there is a handfull of tweaks to be made. I allso wanted to indicate MS Teams status on the card.

https://github.com/SondreNjaastad/person-card

The card is atm fully functional and you can add as many entites in the card as you want
20201115_214450
20201115_214422

Nice. Looks great!

I think i want to remove the circle around the image and add a dot in the lower right corner instead

How does it look if there is no background image defined? Will you fill this header section with a theme color (e.g. the teal in your case)? Or will we provide a default HA image that is used as default so the users can see that it actually contains an image and therefore realize they can switch it out with a custom one?

How does it look if there is no background image defined? Will you fill this header section with a theme color (e.g. the teal in your case)? Or will we provide a default HA image that is used as default so the users can see that it actually contains an image and therefore realize they can switch it out with a custom one?

I have not yet handeled default background image. It currently just stays white. Using a theme color is a great idea. i allso need to implement theme on the rest of the card.

I believe this looks better than the ring around the image

Screenshot_20201116-090424_Home Assistant

We need some more space for the location. Like if it is something like "University" or "Grocery Shopping"

It's not quite clear to me what the red dot stands for ?

It's not quite clear to me what the red dot stands for ?

I think it's meant to show an availability status, here derived from the MS Teams status.
Perhaps this is something that could be configurable to select the source for that information or the user can not use that option.

I have now set up a release action on github.
The card in the image is in a single cloumn next to another of the same card, so this is at 50% width.
The status indicator is optional 馃槉

Is it possible to use a templated image url so that I could have one banner when home and another when at work for example?

Uh, it's a custom card and not a contribution to core? We should stop talking about it right now then. This issue is about a person card in core.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aaron9060 picture aaron9060  路  3Comments

SeanPM5 picture SeanPM5  路  4Comments

andriej picture andriej  路  3Comments

move[bot] picture move[bot]  路  3Comments

wangyt123ng picture wangyt123ng  路  3Comments