Map: show a source as a small badge #24397
Unanswered
ildar170975
asked this question in
Dashboard
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder if we need this kind of presentation?
This is a small badge added for a

ha-entity-marker
element:The badge could be used to display an additional information about the entity.
In that particular example above the marker presents a
person
entity (withentity_picture
defined) & the badge shows anentity_picture
(or could be an icon if no picture is available) of a sourcedevice_tracker
.(This info might be useful since a person may have several trackers)
Another example - a
battery_level
(if available) of the sourcedevice_tracker
. And the value may be either provided as an icon or a value.Imho adding this functionality (at least for a customizable Map card) could be useful...
Here a card-mod code implementing a badge with source device_tracker's picture:
Beta Was this translation helpful? Give feedback.
All reactions