Entities units of measurement + more
See original GitHub issueHi @HandyHat and @ColinRobbins
A few bits that i found wrong with the entities:
-
sensor.electric_consumption_todayandsensor.gas_consumption_todayare missing the unit of measurement (kWh) - this is in the graph

-
same applies to
sensor.electric_consumption_yearandsensor.gas_consumption_year

-
sensor.electric_cost_todayandsensor.gas_cost_todayare missing the unit of measurement (currency as per instance setting?) - this is in the graph. This works fine for standing charge entities

-
sensor.electric_consumption_year_costandsensor.gas_consumption_year_cost4.1 have the wrong unit of measurement. For me the graph is showingEUR. This is not the case for standing charge. I must admit that i forgot to change my currency toGBPbefore installing the integration. Could this be the issue?

4.2 Wouldn’t the name Electric Cost (Yearly) be better? This will match Electric Cost (Today)

4.3 They do not have unique_id, so they can’t be edited in HA - all the others are fine

I am not sure if some of these were by design (or even limitations) or not, so please don’t think i am throwing stones. But if they were not by design maybe they have just been overlooked. I know how it is when you stare at your own code for hours, you are starting to miss things.
Let me know if I can be of any further help
Version What version of the integration and what version of Home Assistant are you running? HA 2021.11.5 Integration v0.5.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)

Top Related StackOverflow Question
No problem, and “no waste of time”, it all contributes to our understanding of how all this works!
Fixed by PR https://github.com/HandyHat/ha-hildebrandglow-dcc/pull/77