JensenNick / huawei_solar_pees

Power, Energy and Economy Sensors in Home Assistant
MIT License
33 stars 3 forks source link

Package file results in unexpected and problematic naming #20

Closed JensenNick closed 5 months ago

JensenNick commented 5 months ago

I did a fresh install. Seams like changing the state_class has had the unfortunate consequence that these sensors are no longer accumulating only. But it is strange since it also effected other PV sensors. Anyone can confirm this behavior except for the NRI Battery?

2024-01-29_12-23-16 2024-01-29_12-09-39

_Originally posted by @JensenNick in https://github.com/JensenNick/huawei_solar_pees/issues/17#issuecomment-1914408019_

JensenNick commented 5 months ago

Test on a clean HA install today confirm that the naming convention used causes issues. I was under the impression that HA would respect the unique_id. Apparently not. This will cause major issues. I am afraid that the only solution is to rename some sensors.

2024-01-29_18-45-07

JensenNick commented 5 months ago

I have released a new package with corrections. I have this version up and running on a clean HA install (no record) which looks OK. It has been running for an hour. Avabilile numbers look correct. Will report back tomorrow when test conditions are better.

History log e1196410879833f6ac4aac20645c669c976d4f52

2024-01-29_20-40-00 2024-01-29_20-29-41

JensenNick commented 5 months ago

This issue har been resolved with the corrections done in this revision e1196410879833f6ac4aac20645c669c976d4f52. 2024-01-30_10-00-41