evohome: allow two round thermostats per gateway (#30589)

* bugfix issue #30517
* bump library, tweak name in manifest
* remove lint hint
This commit is contained in:
David Bonnes authored and GitHub committed 2020-01-08 18:57:28 +00:00
1 parent 4cd2e09fb3
commit 2c1e354537
5 files changed
+9 -11

No files matched your search

@@ -3,7 +3,7 @@
"name": "AdGuard Home",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/adguard",
"requirements": ["adguardhome==0.4.1"],
"requirements": ["adguardhome==0.4.0"],
"dependencies": [],
"codeowners": ["@frenck"]
}
+3 -5
View File
@@ -81,8 +81,8 @@ async def async_setup_platform(
broker.params[CONF_LOCATION_IDX],
)
# special case of RoundModulation/RoundWireless (is a single zone system)
if broker.config["zones"][0]["zoneType"] == "Thermostat":
# special case of RoundModulation/RoundWireless as a single zone system
if len(broker.tcs.zones) == 1 and list(broker.tcs.zones.keys())[0] == "Thermostat":
zone = list(broker.tcs.zones.values())[0]
_LOGGER.debug(
"Found the Thermostat (%s), id=%s, name=%s",
@@ -121,9 +121,7 @@ class EvoClimateDevice(EvoDevice, ClimateDevice):
async def _set_tcs_mode(self, op_mode: str) -> None:
"""Set a Controller to any of its native EVO_* operating modes."""
await self._call_client_api(
self._evo_tcs._set_status(op_mode) # pylint: disable=protected-access
)
await self._call_client_api(self._evo_tcs.set_status(op_mode))
@property
def hvac_modes(self) -> List[str]:
@@ -1,8 +1,8 @@
{
"domain": "evohome",
"name": "Honeywell evohome / Total Connect Comfort",
"name": "Honeywell Total Connect Comfort (Europe)",
"documentation": "https://www.home-assistant.io/integrations/evohome",
"requirements": ["evohome-async==0.3.4b1"],
"requirements": ["evohome-async==0.3.5.post1"],
"dependencies": [],
"codeowners": ["@zxdavb"]
}