Add an early start sensor for heating zones (#28732)
parent
48c289fad3
commit
8fade79a0a
|
@ -20,6 +20,7 @@ CLIMATE_HEAT_SENSOR_TYPES = [
|
||||||
"heating",
|
"heating",
|
||||||
"tado mode",
|
"tado mode",
|
||||||
"overlay",
|
"overlay",
|
||||||
|
"early start",
|
||||||
]
|
]
|
||||||
|
|
||||||
CLIMATE_COOL_SENSOR_TYPES = [
|
CLIMATE_COOL_SENSOR_TYPES = [
|
||||||
|
@ -252,3 +253,9 @@ class TadoSensor(Entity):
|
||||||
else:
|
else:
|
||||||
self._state = False
|
self._state = False
|
||||||
self._state_attributes = {}
|
self._state_attributes = {}
|
||||||
|
|
||||||
|
elif self.zone_variable == "early start":
|
||||||
|
if "preparation" in data and data["preparation"] is not None:
|
||||||
|
self._state = True
|
||||||
|
else:
|
||||||
|
self._state = False
|
||||||
|
|
Loading…
Reference in New Issue