mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
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:
@@ -87,7 +87,6 @@ SENSOR_DESCRIPTIONS: dict[tuple[Units, bool], SensorEntityDescription] = {
|
||||
),
|
||||
(Units.NONE, False): SensorEntityDescription(
|
||||
key=f"{Units.NONE}_{False}",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user