Do not use a battery device class for Shelly analog input sensor (#109311)

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
This commit is contained in:
Maciej Bieniek 2024-02-01 17:07:08 +01:00 committed by GitHub
parent fa17693e3c
commit fe0228139e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
),
}