From 9cd159ee011d4c048aea8bd1e3285d7b1b764277 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 12 Dec 2022 08:35:58 +0100 Subject: [PATCH] Remove device class on V_FLOW in mysensors (#83806) --- homeassistant/components/mysensors/sensor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/mysensors/sensor.py b/homeassistant/components/mysensors/sensor.py index 3ea57319c30..225a75e8c84 100644 --- a/homeassistant/components/mysensors/sensor.py +++ b/homeassistant/components/mysensors/sensor.py @@ -122,10 +122,11 @@ SENSORS: dict[str, SensorEntityDescription] = { icon="mdi:white-balance-sunny", ), "V_FLOW": SensorEntityDescription( + # The documentation on this measurement is inconsistent. + # Better not to set a device class here yet. key="V_FLOW", native_unit_of_measurement=UnitOfLength.METERS, icon="mdi:gauge", - device_class=SensorDeviceClass.DISTANCE, ), "V_VOLUME": SensorEntityDescription( key="V_VOLUME",