Comments (2)
Hi @Proxx ,
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?
from ha_strava.
@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.
from ha_strava.
Related Issues (20)
- Add support for Walk activities HOT 2
- All Sensor Values = -1 HOT 3
- `My API Applications` not showing up in my strava profile
- Dual authorization cycle - second fails HOT 2
- Exception in log HOT 2
- Requirements in manifest.json
- Can't retrieve photos HOT 7
- 'ha_strava' does not have a valid version key HOT 2
- Integration doesn't show up in Home Assistant HOT 19
- Extract date from latest activity HOT 2
- ha_strava not running on 2021.12.0b2 HOT 3
- Forked and added in fixes HOT 1
- Cannot add Strava to integrations HOT 1
- Added to intergration, but cant find Strava when i press + Add repository HOT 4
- Feature request for YTD and All Time Elevation
- Malformed CONF_SENSOR_DATE (activity date)
- ha_strava gives error after upgrade to Home Assistant 2022.3.1 HOT 23
- HA Strava fails to startup with HA 2022.5 HOT 12
- Add Strava to HA will not work HOT 5
- Stats only shows Public entries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_strava.