From 8bf22014cebe9018ad3b04652544e8769a022cd4 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Tue, 23 May 2023 19:20:04 +0200 Subject: [PATCH] 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. --- homeassistant/components/solax/sensor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/solax/sensor.py b/homeassistant/components/solax/sensor.py index 2a923c3b725..fd0db1be054 100644 --- a/homeassistant/components/solax/sensor.py +++ b/homeassistant/components/solax/sensor.py @@ -87,7 +87,6 @@ SENSOR_DESCRIPTIONS: dict[tuple[Units, bool], SensorEntityDescription] = { ), (Units.NONE, False): SensorEntityDescription( key=f"{Units.NONE}_{False}", - state_class=SensorStateClass.MEASUREMENT, ), }