Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Person Entity #490

Open
R1Snake opened this issue Jan 18, 2024 · 1 comment
Open

Person Entity #490

R1Snake opened this issue Jan 18, 2024 · 1 comment

Comments

@R1Snake
Copy link

R1Snake commented Jan 18, 2024

Does anybody knows how i can create a person entity?

My target is to create a presence card with the image from the users i created in iobroker.

@Garfonso
Copy link
Collaborator

I, personally, use a binary_sensor entity for that (with device class set to "presence") and an entity_filter card with with the binary_sensors in there and image attributes, like:

type: entity-filter
entities:
  - entity: binary_sensor.users_user1_present
    show_last_changed: true
    image: /cards/Avatar-user1.jpg
  - entity: binary_sensor.users_user2_present
    show_last_changed: true
    image: /cards/Avatar-user2.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants