Skip to content

Commit

Permalink
Merge pull request #367 from asantaga/dev
Browse files Browse the repository at this point in the history
v3.3.4
  • Loading branch information
msp1974 authored Apr 24, 2023
2 parents 80bbf09 + 598f554 commit f174fb1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Wiser Home Assistant Integration v3.3.3
# Wiser Home Assistant Integration v3.3.4

[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/hacs/integration)
[![downloads](https://shields.io/github/downloads/asantaga/wiserHomeAssistantPlatform/latest/total?style=for-the-badge)](https://github.com/asantaga/wiserHomeAssistantPlatform)
Expand Down Expand Up @@ -528,7 +528,7 @@ In order to extend the capability of this integration and simplify complex probl

### Passive Mode

An automation that allows you to set a room to only heat when other rooms are heating. This is only available for rooms with TRVs and not Heating Actuators. In each room will be a switch to set Passive Mode on or off for that room.
An automation that allows you to set a room to only heat when other rooms are heating on the same heating channel. This is only available for rooms with TRVs and not Heating Actuators. In each room will be a switch to set Passive Mode on or off for that room.

More detailed information on this automation is available [here](docs/inbuilt_automations.md)

Expand Down Expand Up @@ -619,6 +619,9 @@ There are two primary branches for this integration, `master` and `dev` . Master

## Change log

- 3.3.4
- Fix issue with passive mode whereby it did not factor heating channels for multi channel hubs

- 3.3.3
- Fix issue of passive mode temperature increment setting not working - issue [#359](https://github.com/asantaga/wiserHomeAssistantPlatform/issues/359)
- Improved error handling if the extra config file should get corrupted - issue [#364](https://github.com/asantaga/wiserHomeAssistantPlatform/issues/364)
Expand Down
11 changes: 5 additions & 6 deletions custom_components/wiser/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def preset_modes(self):

async def async_set_preset_mode(self, preset_mode: str) -> None:
"""Async call to set preset mode ."""
_LOGGER.info(f"Setting Preset Mode {preset_mode} for {self._room.name}")
_LOGGER.debug(f"Setting Preset Mode {preset_mode} for {self._room.name}")
try:
await self._room.set_preset(preset_mode)
except ValueError as ex:
Expand Down Expand Up @@ -503,7 +503,6 @@ def target_temperature_low(self) -> float | None:

async def async_set_temperature(self, **kwargs):
"""Set new target temperatures."""
_LOGGER.info(kwargs)
if self._room.is_passive_mode and not self._room.is_boosted:
if kwargs.get("target_temp_low", None):
await self._room.set_passive_mode_lower_temp(
Expand All @@ -522,14 +521,14 @@ async def async_set_temperature(self, **kwargs):
self._data.setpoint_mode == WISER_SETPOINT_MODES["BoostAuto"]
and self.state == HVACMode.AUTO
):
_LOGGER.info(
_LOGGER.debug(
f"Setting temperature for {self.name} to {target_temperature} using boost"
)
await self._room.set_target_temperature_for_duration(
target_temperature, self._data.boost_time
)
else:
_LOGGER.info(
_LOGGER.debug(
f"Setting temperature for {self.name} to {target_temperature}"
)
await self._room.set_target_temperature(target_temperature)
Expand Down Expand Up @@ -558,12 +557,12 @@ async def async_boost_heating(
temperature_delta = self._data.boost_temp

if temperature_delta > 0:
_LOGGER.info(
_LOGGER.debug(
f"Boosting heating for {self._room.name} by {temperature_delta}C for {time_period}m "
)
await self._room.boost(temperature_delta, time_period)
if temperature > 0 and temperature_delta == 0:
_LOGGER.info(
_LOGGER.debug(
f"Boosting heating for {self._room.name} to {temperature}C for {time_period}m "
)
await self._room.set_target_temperature_for_duration(
Expand Down
6 changes: 0 additions & 6 deletions custom_components/wiser/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ async def async_update_data(self) -> WiserData:
self.last_update_status = "Success"

_LOGGER.info(f"Hub update completed for {self.wiserhub.system.name}")
_LOGGER.info(
f"Man setpoint - {self.wiserhub.api_parameters.stored_manual_target_temperature_alt_source}"
)
_LOGGER.info(
f"Passive Incr - {self.wiserhub.api_parameters.passive_mode_increment}"
)

# Send event to websockets to notify hub update
async_dispatcher_send(
Expand Down
4 changes: 2 additions & 2 deletions custom_components/wiser/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"documentation": "https://github.com/asantaga/wiserHomeAssistantPlatform/blob/master/README.md",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/asantaga/wiserHomeAssistantPlatform/issues",
"requirements": ["aioWiserHeatAPI==1.3.2"],
"version": "3.3.3",
"requirements": ["aioWiserHeatAPI==1.3.3"],
"version": "3.3.4",
"zeroconf": [{ "type": "_http._tcp.local.", "name": "wiser*" }]
}
2 changes: 1 addition & 1 deletion docs/inbuilt_automations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Currently there is only a single in built automation but more may come in the fu

## Passive Mode

Passive mode is designed to achieve a function that is not natively available from Wiser on the hub. It is designed to set a room to only heat when other non-passive mode rooms call for heat (causing the boiler to fire).
Passive mode is designed to achieve a function that is not natively available from Wiser on the hub. It is designed to set a room to only heat when other non-passive mode rooms call for heat (causing the boiler to fire). It respects heating channels, so for hubs with 2 heating channels, it will only activate a pssive room if an active room on that channel is heating.

It does this by setting the target temperature of the room lower than the current temp (down to the minimum setting) when no non-passive rooms are heating and then increasing the target temperature of the room when non-passive rooms are calling for heat thus heating the room to the set maximum temperature without the room itself causing the boiler to fire.

Expand Down

0 comments on commit f174fb1

Please sign in to comment.