kamaradclimber / heishamon-homeassistant

An integration for heatpumps handled by heishamon
Apache License 2.0
50 stars 25 forks source link

Missing kWh-device(s) #86

Closed Maarten69 closed 1 year ago

Maarten69 commented 1 year ago

Before latest update I had 132 entities, now 130. I'm missing the custom kWh devices:

Did you change something?

EDIT: Here also happened yesterday after update to latest HA core. Used fixed descriped below, thanks @BurgerMario

kamaradclimber commented 1 year ago

Could it come from https://github.com/kamaradclimber/heishamon-homeassistant/commit/ab23692fe92f79399f7fed1a4c721c7c94d35d80 ? Could you remove those lines, restart HA and compare?

Also could you confirm the version of HA you use please?

PGnl commented 1 year ago

I have the same. But not after an update of the HACS repository. Happened yesterday after update to latest HA core. Core.2023.2.5

BurgerMario commented 1 year ago

Delete in /config/custom_components/aquarea/sensor.py Line 268 native_precision=0 and the other in 279 ( the same)

Save and reboot HA..

simplyjeroen commented 1 year ago

for me it is line 268 and 281. but that indeed solves the problem

BurgerMario commented 1 year ago

OK, sorry... The Line 268 and 281 is right ;)

kamaradclimber commented 1 year ago

Do you see the same issue with HA core 2023.3 ?

BurgerMario commented 1 year ago

Yes!! Delete Row 268 an 281, then your problem is gone :)

simplyjeroen commented 1 year ago

the problem came to me the moment I update to 2023.3

BurgerMario commented 1 year ago

The problem comes first with the HA 2023.3 ... A brand new restart dialog, ask Assist about the state of your home, amazing new dialogs for lights and switches, Thread & Matter updates, control the precision of your sensors

kamaradclimber commented 1 year ago

https://developers.home-assistant.io/blog/2023/02/08/sensor_presentation_rounding/ mentions that native_precision addition has been reverted.

I can reproduce locally and will fix the issue.

Maarten69 commented 1 year ago

Thanks @kamaradclimber, @BurgerMario and others.