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 19:20:04 +02:00 committed by GitHub
parent 942089d590
commit 8bf22014ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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