You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue more a design question.
My personal option is to have one sensor per activity. fill the state with eg. distance or name and use the attributes for the details.
this way you have less sensors and all info combined per sensor.
The text was updated successfully, but these errors were encountered:
I really like the idea of grouping all stats (distance, time, power, etc.) into a single sensor entity. What I wonder, though, is how users would then be able to display these sensor details in their Lovelace UI? I've tried both the entity- and the sensor card, but I could not figure out a way of displaying sensor detail values, instead of the default sensor state value. Do you have an idea for how to do that?
@Proxx I just did some more research and figured that the HA's template platform (https://www.home-assistant.io/integrations/template/) would be a way to coerce state attributes like distance, time, power, etc. into distinct template sensors which could then be rendered to the UI using entity and/or state cards.
I think templating would make your idea work, but wouldn't you end up with the same number of sensors in the end? I mean you'd need to create a separate template sensor for every state attribute which you'd like to render to the UI, just as if that sensor was already there by default.
Please let me know if I'm missing something here. Otherwise I'll close this issue for now and open a feature request when several people bring up that idea again.
First of all.
I really like this integration. Great work
This is not an issue more a design question.
My personal option is to have one sensor per activity. fill the state with eg. distance or name and use the attributes for the details.
this way you have less sensors and all info combined per sensor.
The text was updated successfully, but these errors were encountered: