mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00: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:
parent
942089d590
commit
8bf22014ce
@ -87,7 +87,6 @@ SENSOR_DESCRIPTIONS: dict[tuple[Units, bool], SensorEntityDescription] = {
|
|||||||
),
|
),
|
||||||
(Units.NONE, False): SensorEntityDescription(
|
(Units.NONE, False): SensorEntityDescription(
|
||||||
key=f"{Units.NONE}_{False}",
|
key=f"{Units.NONE}_{False}",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user