StephanJoubert / home_assistant_solarman

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

integer or float #47

Open gmarchett opened 2 years ago

gmarchett commented 2 years ago

I'using your integration with a Solis inverter and it work really nice! I've found some difficult with integer value, because all the entities that i can use in the energy monitor send integer values instead of float value, so if I produce 0,6 kW it says 1 kW. Is there some configuration missing or something i can do to improve this aspect? Attached a coupld of screenshot. Thanks a lot for your support

Schermata 2022-05-11 alle 17 34 04 Schermata 2022-05-11 alle 17 33 52
gmarchett commented 2 years ago

Some update: To solve the to integer rounding count, I tried to use daily entities (they save data 2-3 time for hour using watt, so they seems affordable and precise), but when i select them in the energy monitor, I receive some misconfiguration error. It seems that miss last reset parameter in the measurement class (i don't know what it means :-)). Can iI do something to solve it? Does someone have some suggestion?

Thanks for your support!

Schermata 2022-05-20 alle 21 08 32 Schermata 2022-05-20 alle 21 09 23 Schermata 2022-05-20 alle 21 09 49