Fixes
- Gas volume sensors now use the unit your IHD reports (#98). 1.9.2 switched
Smart Meter Gas: Import Vol (Today),(This week)and(This month)to thegasdevice class and m³ for everyone (#84). Most IHDs report these values in kWh (dayweekmonthvolunits: "kWh", the same numbers asImport (Today)etc.), so they showed kWh numbers labelled m³, about 11 times too high, and their long term statistics stopped. The unit now follows the payload:kWh:energy/ kWh, as in 1.8.0m3:gas/ m³, as in 1.9.2, so m3 devices are unaffected and safe to update- field missing: kWh
- The reported unit is kept across restarts. Entity IDs and history are unchanged.
If you already restarted on 1.9.2
- kWh devices: the sensors go back to kWh, which matches the statistics recorded before 1.9.2, so long term statistics resume. Expect a gap for the time you ran 1.9.2. If you used Home Assistant's statistics repair to change the stored unit of these sensors to m³, Home Assistant will raise the unit-change repair again; fix it the same way, back to kWh.
- m3 devices: nothing changes.
The 1.9.2 note that these sensors "now use the gas device class and m³" was wrong for most devices; this release replaces it.
Restart Home Assistant after updating through HACS.