Bump aiosomecomfort to 0.0.14 (#89393)
This commit is contained in:
parent
e1d62b554a
commit
5c768c3f89
4 changed files with 14 additions and 15 deletions
|
@ -292,17 +292,18 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||
hour_cool, minute_cool = divmod(
|
||||
self._device.raw_ui_data["CoolNextPeriod"] * 15, 60
|
||||
)
|
||||
# Set hold time
|
||||
# Set temporary hold time and temperature
|
||||
if mode in COOLING_MODES:
|
||||
await self._device.set_hold_cool(
|
||||
datetime.time(hour_cool, minute_cool)
|
||||
datetime.time(hour_cool, minute_cool), temperature
|
||||
)
|
||||
if mode in HEATING_MODES:
|
||||
await self._device.set_hold_heat(
|
||||
datetime.time(hour_heat, minute_heat)
|
||||
datetime.time(hour_heat, minute_heat), temperature
|
||||
)
|
||||
|
||||
# Set temperature if not in auto
|
||||
# Set temperature if not in auto - set the temperature
|
||||
else:
|
||||
if mode == "cool":
|
||||
await self._device.set_setpoint_cool(temperature)
|
||||
if mode == "heat":
|
||||
|
@ -350,11 +351,9 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||
# Set permanent hold
|
||||
# and Set temperature
|
||||
if mode in COOLING_MODES:
|
||||
await self._device.set_hold_cool(True)
|
||||
await self._device.set_setpoint_cool(self._cool_away_temp)
|
||||
await self._device.set_hold_cool(True, self._cool_away_temp)
|
||||
if mode in HEATING_MODES:
|
||||
await self._device.set_hold_heat(True)
|
||||
await self._device.set_setpoint_heat(self._heat_away_temp)
|
||||
await self._device.set_hold_heat(True, self._heat_away_temp)
|
||||
|
||||
except aiosomecomfort.SomeComfortError:
|
||||
_LOGGER.error(
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/honeywell",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["somecomfort"],
|
||||
"requirements": ["aiosomecomfort==0.0.11"]
|
||||
"requirements": ["aiosomecomfort==0.0.14"]
|
||||
}
|
||||
|
|
|
@ -276,7 +276,7 @@ aioskybell==22.7.0
|
|||
aioslimproto==2.1.1
|
||||
|
||||
# homeassistant.components.honeywell
|
||||
aiosomecomfort==0.0.11
|
||||
aiosomecomfort==0.0.14
|
||||
|
||||
# homeassistant.components.steamist
|
||||
aiosteamist==0.3.2
|
||||
|
|
|
@ -254,7 +254,7 @@ aioskybell==22.7.0
|
|||
aioslimproto==2.1.1
|
||||
|
||||
# homeassistant.components.honeywell
|
||||
aiosomecomfort==0.0.11
|
||||
aiosomecomfort==0.0.14
|
||||
|
||||
# homeassistant.components.steamist
|
||||
aiosteamist==0.3.2
|
||||
|
|
Loading…
Add table
Reference in a new issue