Hi.
My thermostat give me Kw/h but the value is not compatible with HA.
It report 1813427 kWh witch is really 1813.427 Kw/h. So when there is a consumption of something like 350 Wh, the next report add 350 Kw\h. How can I add the decimal dot so that HA can report the good value or change the reporting value in Wh
The thermostat is zigbee with zigbee2mqtt without the Neviweb app and gateway. Running it on a sonoff and everything works fine. Made a automation to get the kw/h refresh every 5 minutes and one to set the outside temperature.
I Want to intégrate this to the energy dashboard but with value like this it doesn’t work
If the value reported is wrong, first thing to do is file an issue with the component maintainer.
If you’ve done that and are sure no fixes are forthcoming, I would make a template sensor which divides by 1000, and assign that the correct unit. Then you can ignore the faulty sensor, and use your template sensor in its place for all other purposes in HA, and it will be correct.
Recommend don’t use float(0), or anytime the source sensor goes unavailable you’ll get a bad glitch in the dashboard. Use an availability template instead.