Update solax state class for sensors with no units (#92914)

Update sensor.py

Units.NONE is used for text entities which are not measurements.
Marking them so breaks their history.
This commit is contained in:
Michael Mraka
2023-05-23 21:50:23 +02:00
committed by Franck Nijhof
parent 367198a20c
commit cd195b7f50
-1
View File
@@ -87,7 +87,6 @@ SENSOR_DESCRIPTIONS: dict[tuple[Units, bool], SensorEntityDescription] = {
),
(Units.NONE, False): SensorEntityDescription(
key=f"{Units.NONE}_{False}",
state_class=SensorStateClass.MEASUREMENT,
),
}