Skip to content

Commit

Permalink
Fix incompatible 'measurement' state and 'volume' device class warnin…
Browse files Browse the repository at this point in the history
…gs in Overkiz (#104896)
  • Loading branch information
pdecat committed Dec 4, 2023
1 parent 9c9d866 commit 8e42105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/overkiz/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class OverkizSensorDescription(SensorEntityDescription):
name="Water volume estimation at 40 °C",
icon="mdi:water",
native_unit_of_measurement=UnitOfVolume.LITERS,
device_class=SensorDeviceClass.VOLUME,
device_class=SensorDeviceClass.VOLUME_STORAGE,
entity_registry_enabled_default=False,
state_class=SensorStateClass.MEASUREMENT,
),
Expand All @@ -110,7 +110,7 @@ class OverkizSensorDescription(SensorEntityDescription):
icon="mdi:water",
native_unit_of_measurement=UnitOfVolume.LITERS,
device_class=SensorDeviceClass.VOLUME,
state_class=SensorStateClass.MEASUREMENT,
state_class=SensorStateClass.TOTAL_INCREASING,
),
OverkizSensorDescription(
key=OverkizState.IO_OUTLET_ENGINE,
Expand Down

0 comments on commit 8e42105

Please sign in to comment.