From fe0228139e72bddfc5ad48022d24f268bf08af35 Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Thu, 1 Feb 2024 17:07:08 +0100 Subject: [PATCH] Do not use a battery device class for Shelly analog input sensor (#109311) Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com> --- homeassistant/components/shelly/sensor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/shelly/sensor.py b/homeassistant/components/shelly/sensor.py index 57e60c8fc48..e46800963a3 100644 --- a/homeassistant/components/shelly/sensor.py +++ b/homeassistant/components/shelly/sensor.py @@ -958,7 +958,6 @@ RPC_SENSORS: Final = { sub_key="percent", name="Analog input", native_unit_of_measurement=PERCENTAGE, - device_class=SensorDeviceClass.BATTERY, state_class=SensorStateClass.MEASUREMENT, ), }