Compare commits
1 Commits
6.8.0.beta
...
6.8.0.beta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0a85c10ff |
@@ -226,6 +226,16 @@ class ThermostatOverSonoffTRVZB(ThermostatOverClimate):
|
|||||||
|
|
||||||
async def _send_regulated_temperature(self, force=False):
|
async def _send_regulated_temperature(self, force=False):
|
||||||
"""Sends the regulated temperature to all underlying"""
|
"""Sends the regulated temperature to all underlying"""
|
||||||
|
if self.target_temperature is None:
|
||||||
|
return
|
||||||
|
|
||||||
|
for under in self._underlyings:
|
||||||
|
await under.set_temperature(
|
||||||
|
self.target_temperature,
|
||||||
|
self._attr_max_temp,
|
||||||
|
self._attr_min_temp,
|
||||||
|
)
|
||||||
|
|
||||||
self.recalculate()
|
self.recalculate()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user