Firstly, I feel the need to always apologise when asking on here, but I am still new to HA and just cannot get to grips with it. I see something I like, try to mirror it, fail and get completely stuck by the documentation then have to come here.
So here goes. I would like a card that has a picture of me when I am home, a different picture when I am away and the status of myself ie Home or Away (I will add other people later but for now…)
So I have presence detection working using my iphone. It knows I am at work currently.
I thought this would work:
How do I check the entity ID is correct? I am using the same ID for my “how many hours at work” card but cannot remember how I found the actual entity ID. Where would this be?
I wish there was a bigger hint than just “invalid card config”
Still not working so must be something else. Thanks for helping guys just dont think I am ever going to get the hang of HA, thought it would be something someone with no experience could pick up but dont think I have the coding knowledge to do this.
fwiw, I use an extended button-card setup for that, with dedicated images for the state and an overlay for the zone my family is in, displayed in the bottom right corner. Added to that I use a colored background to help identifying the state. Green for home, white for abroad, purple for zoning in life360 and grey for not_home
it needs 3 pictures for all family members, and an image for each zone.
I changed my code to that provided by petro and the card works, show the picture and shows the name of the device and status “Away”
It is not the card I was after but might leave it for now. I think the card I need is as per flamingm0e says which is an entity card so will give that a read and see how I get on.