squishykid / solax

🌞 Solax Inverter API Wrapper
MIT License
104 stars 63 forks source link

Fix Battery Power using unsigned int (X1 Hybrid Gen4) #162

Open nazar-pc opened 5 months ago

nazar-pc commented 5 months ago

Similar to https://github.com/squishykid/solax/pull/152, but for battery power. I had a workarounds for both in my HomeAssistant for a very long time now, this will finally allow me to remove hacks for both powers.

As explained in https://github.com/nazar-pc/solax-local-api-docs this likely affects more units in various inverters, but this it the value I cared and had a hack for in HomeAssistant.