Remove invalid state class in tado (#85624)

This commit is contained in:
epenet 2023-01-10 16:55:34 +01:00 committed by GitHub
parent 4eddd8b75a
commit 2ae986d45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ class TadoZoneSensor(TadoZoneEntity, SensorEntity):
@property
def state_class(self):
"""Return the state class."""
if self.zone_variable in ["ac", "heating", "humidity", "temperature"]:
if self.zone_variable in ["heating", "humidity", "temperature"]:
return SensorStateClass.MEASUREMENT
return None