StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
510 stars 190 forks source link

Zero values #416

Open lukazareba opened 9 months ago

lukazareba commented 9 months ago

Hi, is there any method so that when the inverter is turned off, the variable values like current, voltage, power, etc. change to 0 and the daily production value clears at midnight and the total production is displayed all the time? Currently shows that the entity is unavailable

monoboy-hh commented 9 months ago

With 1.4.3 the old values or at least a value would still be present. Changing to unavailable interferes with many graphs / cards. After the protocol issues of 1.5.0 have been fixed, I have to downgrade to 1.4.3 again :( image

monoboy-hh commented 9 months ago

working as expected with 1.4.3 and 2023.10.x with 1.5.1, when the inverter goes offline, most values are set to unknown / unavailable / zero. resulting in graphs like this (radiator temperature) image (instead of letting the temperature drop to 0 / NaN / unknown I set it to the outside temperature to have at least some numerical value)