Comments (3)
I'm a little allergic to "too many sensors", hence setting relevant values into attributes :-)
Version 1.3.7
will be soon available with the fix.
from ha-knmi.
I agree it makes sense for automations/graphs that the unit is omitted for state attributes.
Be aware that in your example, comparing Buienradar, you're comparing a state with an attribute (unit_of_measurement
) to something that is called extra_state_attributes
, used by this integration.
I'm not sure if I want to rename the attributes (underscore), as that would be a breaking change. There are also built-in integrations that have spaces in attribute names, so I don't think it's really an issue.
from ha-knmi.
hi, thanks for your feedback!
sure, I am aware I showed the deducted Buienradar entity, and not an attribute. Was merely trying to bring across the separated unit from the state.
on the naming of the attributes entity_id's: indeed, not a true 'issue' in that it causes a problem. tbh I can not find the exact dev design rules on this in https://developers.home-assistant.io/docs/core/entity#entity-naming
just that it is uncommon to do so.
what they do state in extra_state_attributes is that we should minimize those. so maybe break out those attributes into entities?
but, most importantly: please take out that unit ;-)
from ha-knmi.
Related Issues (20)
- Weather entity unavailable HOT 10
- Error doing job: Task exception was never retrieved HOT 2
- wolkennacht HOT 7
- Value d1windrgr can't be converted to <class 'float'> HOT 6
- minimum verwachting is eigenlijk van gister HOT 3
- Language parameter widgets HOT 1
- adjust empty Waarschuwing attribute HOT 1
- binary_sensor alert won't change icon (color) HOT 1
- API Response Missing HOT 1
- Weerwaarschuwing niet ingeladen HOT 1
- Too many api calls HOT 3
- Safe? HOT 2
- The knmi integration is using deprecated forecast (2023.9 beta) HOT 33
- Reduce update frequency of plugin HOT 30
- weather.knmi_huis is using a forecast attribute on an instance of WeatherEntity HOT 2
- Support depreciated forecast attribute until 2024.3 HOT 5
- Seems that the forecast has the wrong date on it? HOT 3
- use KNMI API instead of weerlive HOT 4
- Value d2tmin can't be converted to <class 'float'> HOT 26
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-knmi.