Closed stefkuhb closed 5 months ago
Currently in sensor.py the three water consumption sensors have the device class VOLUME, this is not compatible with the energy dashboard, please change it to WATER for the following classes:
HonBaseMeanWaterConsumption HonBaseTotalWaterUsed HonBaseCurrentWaterUsed
self._attr_device_class = SensorDeviceClass.VOLUME should be self._attr_device_class = SensorDeviceClass.WATER
self._attr_device_class = SensorDeviceClass.VOLUME
self._attr_device_class = SensorDeviceClass.WATER
Thanks for this. I've made the 0.6.8 with this fix.
Currently in sensor.py the three water consumption sensors have the device class VOLUME, this is not compatible with the energy dashboard, please change it to WATER for the following classes:
HonBaseMeanWaterConsumption HonBaseTotalWaterUsed HonBaseCurrentWaterUsed
self._attr_device_class = SensorDeviceClass.VOLUME
should beself._attr_device_class = SensorDeviceClass.WATER