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 2020-01-08 18:57:28 +00:00 committed by GitHub
parent 4cd2e09fb3
commit 2c1e354537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 11 deletions

View file

@ -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"]
}

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]:

View file

@ -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"]
}

View file

@ -117,7 +117,7 @@ adafruit-circuitpython-mcp230xx==1.1.2
adb-shell==0.1.1
# homeassistant.components.adguard
adguardhome==0.4.1
adguardhome==0.4.0
# homeassistant.components.frontier_silicon
afsapi==0.0.4
@ -510,7 +510,7 @@ eternalegypt==0.0.11
# evdev==1.1.2
# homeassistant.components.evohome
evohome-async==0.3.4b1
evohome-async==0.3.5.post1
# homeassistant.components.dlib_face_detect
# homeassistant.components.dlib_face_identify

View file

@ -32,7 +32,7 @@ abodepy==0.16.7
adb-shell==0.1.1
# homeassistant.components.adguard
adguardhome==0.4.1
adguardhome==0.4.0
# homeassistant.components.geonetnz_quakes
aio_geojson_geonetnz_quakes==0.11