fix: multisensor current and energy sensor scales#180
Conversation
|
@MakaanPL: I contacted BleBox support regarding this issue. They confirmed that the problem is known on their side and has already been forwarded internally for analysis. However, due to low priority, they are currently not able to provide any estimated timeline for an official fix. Sharing this here for context — it seems that without changes on the library side, the issue is unlikely to be resolved anytime soon. |
|
But THIS is the fix in blebox_uniapi library, apparently done by their own employee. What I'm asking for is mostly "paperwork" necessary for the change to propagate to all users of Pstryk meter in HA. I also prepared a workaround in HA integration after reporting the issue, but obviously a fix in upstream library is a better choice. |
That I didn't know. I assumed that it's a fix by someone from the community and the PR is going to stay open for ages. Glad to see it merged 🙂 |
Fixes root cause of home-assistant/core#166181.
multiSensor returns current in mA (not µA) and energy in Wh (not kWh). Corrected scale factors accordingly.