mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +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
|
@property
|
||||||
def state_class(self):
|
def state_class(self):
|
||||||
"""Return the state class."""
|
"""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 SensorStateClass.MEASUREMENT
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user