mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Remove invalid state class in tado (#85624)
This commit is contained in:
parent
4eddd8b75a
commit
2ae986d45b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user