mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Bump aiosomecomfort to 0.0.14 (#89393)
This commit is contained in:
parent
e1d62b554a
commit
5c768c3f89
@ -292,21 +292,22 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||||||
hour_cool, minute_cool = divmod(
|
hour_cool, minute_cool = divmod(
|
||||||
self._device.raw_ui_data["CoolNextPeriod"] * 15, 60
|
self._device.raw_ui_data["CoolNextPeriod"] * 15, 60
|
||||||
)
|
)
|
||||||
# Set hold time
|
# Set temporary hold time and temperature
|
||||||
if mode in COOLING_MODES:
|
if mode in COOLING_MODES:
|
||||||
await self._device.set_hold_cool(
|
await self._device.set_hold_cool(
|
||||||
datetime.time(hour_cool, minute_cool)
|
datetime.time(hour_cool, minute_cool), temperature
|
||||||
)
|
)
|
||||||
if mode in HEATING_MODES:
|
if mode in HEATING_MODES:
|
||||||
await self._device.set_hold_heat(
|
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
|
||||||
if mode == "cool":
|
else:
|
||||||
await self._device.set_setpoint_cool(temperature)
|
if mode == "cool":
|
||||||
if mode == "heat":
|
await self._device.set_setpoint_cool(temperature)
|
||||||
await self._device.set_setpoint_heat(temperature)
|
if mode == "heat":
|
||||||
|
await self._device.set_setpoint_heat(temperature)
|
||||||
|
|
||||||
except aiosomecomfort.SomeComfortError as err:
|
except aiosomecomfort.SomeComfortError as err:
|
||||||
_LOGGER.error("Invalid temperature %.1f: %s", temperature, err)
|
_LOGGER.error("Invalid temperature %.1f: %s", temperature, err)
|
||||||
@ -350,11 +351,9 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||||||
# Set permanent hold
|
# Set permanent hold
|
||||||
# and Set temperature
|
# and Set temperature
|
||||||
if mode in COOLING_MODES:
|
if mode in COOLING_MODES:
|
||||||
await self._device.set_hold_cool(True)
|
await self._device.set_hold_cool(True, self._cool_away_temp)
|
||||||
await self._device.set_setpoint_cool(self._cool_away_temp)
|
|
||||||
if mode in HEATING_MODES:
|
if mode in HEATING_MODES:
|
||||||
await self._device.set_hold_heat(True)
|
await self._device.set_hold_heat(True, self._heat_away_temp)
|
||||||
await self._device.set_setpoint_heat(self._heat_away_temp)
|
|
||||||
|
|
||||||
except aiosomecomfort.SomeComfortError:
|
except aiosomecomfort.SomeComfortError:
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/honeywell",
|
"documentation": "https://www.home-assistant.io/integrations/honeywell",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["somecomfort"],
|
"loggers": ["somecomfort"],
|
||||||
"requirements": ["aiosomecomfort==0.0.11"]
|
"requirements": ["aiosomecomfort==0.0.14"]
|
||||||
}
|
}
|
||||||
|
@ -276,7 +276,7 @@ aioskybell==22.7.0
|
|||||||
aioslimproto==2.1.1
|
aioslimproto==2.1.1
|
||||||
|
|
||||||
# homeassistant.components.honeywell
|
# homeassistant.components.honeywell
|
||||||
aiosomecomfort==0.0.11
|
aiosomecomfort==0.0.14
|
||||||
|
|
||||||
# homeassistant.components.steamist
|
# homeassistant.components.steamist
|
||||||
aiosteamist==0.3.2
|
aiosteamist==0.3.2
|
||||||
|
@ -254,7 +254,7 @@ aioskybell==22.7.0
|
|||||||
aioslimproto==2.1.1
|
aioslimproto==2.1.1
|
||||||
|
|
||||||
# homeassistant.components.honeywell
|
# homeassistant.components.honeywell
|
||||||
aiosomecomfort==0.0.11
|
aiosomecomfort==0.0.14
|
||||||
|
|
||||||
# homeassistant.components.steamist
|
# homeassistant.components.steamist
|
||||||
aiosteamist==0.3.2
|
aiosteamist==0.3.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user