Revert 'Use STATE_UNKNOWN constant in dlink and ecobee' (#40022)
This commit is contained in:
1 parent
f3d50e2104
commit
fc1fb0ab7c
2 files changed
+3
-5
No files matched your search
@@ -5,7 +5,6 @@ from homeassistant.const import (
|
||||
DEVICE_CLASS_HUMIDITY,
|
||||
DEVICE_CLASS_TEMPERATURE,
|
||||
PERCENTAGE,
|
||||
STATE_UNKNOWN,
|
||||
TEMP_FAHRENHEIT,
|
||||
)
|
||||
from homeassistant.helpers.entity import Entity
|
||||
@@ -112,7 +111,7 @@ class EcobeeSensor(Entity):
|
||||
if self._state in [
|
||||
ECOBEE_STATE_CALIBRATING,
|
||||
ECOBEE_STATE_UNKNOWN,
|
||||
STATE_UNKNOWN,
|
||||
"unknown",
|
||||
]:
|
||||
return None
|
||||
|
||||
|
||||
Reference in new issue
Block a user