Bump pydaikin 2.9.1 (#93635)

This commit is contained in:
mover85 2023-05-30 09:44:05 +12:00 committed by GitHub
parent b063a54295
commit 07dd34b04a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -7,6 +7,6 @@
"iot_class": "local_polling", "iot_class": "local_polling",
"loggers": ["pydaikin"], "loggers": ["pydaikin"],
"quality_scale": "platinum", "quality_scale": "platinum",
"requirements": ["pydaikin==2.9.0"], "requirements": ["pydaikin==2.9.1"],
"zeroconf": ["_dkapi._tcp.local."] "zeroconf": ["_dkapi._tcp.local."]
} }

View file

@ -42,7 +42,7 @@ async def async_setup_entry(
[ [
DaikinZoneSwitch(daikin_api, zone_id) DaikinZoneSwitch(daikin_api, zone_id)
for zone_id, zone in enumerate(zones) for zone_id, zone in enumerate(zones)
if zone != ("-", "0") if zone[0] != ("-", "0")
] ]
) )
if daikin_api.device.support_advanced_modes: if daikin_api.device.support_advanced_modes:
@ -90,11 +90,11 @@ class DaikinZoneSwitch(SwitchEntity):
async def async_turn_on(self, **kwargs: Any) -> None: async def async_turn_on(self, **kwargs: Any) -> None:
"""Turn the zone on.""" """Turn the zone on."""
await self._api.device.set_zone(self._zone_id, "1") await self._api.device.set_zone(self._zone_id, "zone_onoff", "1")
async def async_turn_off(self, **kwargs: Any) -> None: async def async_turn_off(self, **kwargs: Any) -> None:
"""Turn the zone off.""" """Turn the zone off."""
await self._api.device.set_zone(self._zone_id, "0") await self._api.device.set_zone(self._zone_id, "zone_onoff", "0")
class DaikinStreamerSwitch(SwitchEntity): class DaikinStreamerSwitch(SwitchEntity):

View file

@ -1576,7 +1576,7 @@ pycsspeechtts==1.0.8
# pycups==1.9.73 # pycups==1.9.73
# homeassistant.components.daikin # homeassistant.components.daikin
pydaikin==2.9.0 pydaikin==2.9.1
# homeassistant.components.danfoss_air # homeassistant.components.danfoss_air
pydanfossair==0.1.0 pydanfossair==0.1.0

View file

@ -1164,7 +1164,7 @@ pycoolmasternet-async==0.1.5
pycsspeechtts==1.0.8 pycsspeechtts==1.0.8
# homeassistant.components.daikin # homeassistant.components.daikin
pydaikin==2.9.0 pydaikin==2.9.1
# homeassistant.components.deconz # homeassistant.components.deconz
pydeconz==112 pydeconz==112