Skip to content

Commit

Permalink
Bump pydaikin 2.9.1 (#93635)
Browse files Browse the repository at this point in the history
  • Loading branch information
mover85 authored May 29, 2023
1 parent b063a54 commit 07dd34b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/daikin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"iot_class": "local_polling",
"loggers": ["pydaikin"],
"quality_scale": "platinum",
"requirements": ["pydaikin==2.9.0"],
"requirements": ["pydaikin==2.9.1"],
"zeroconf": ["_dkapi._tcp.local."]
}
6 changes: 3 additions & 3 deletions homeassistant/components/daikin/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def async_setup_entry(
[
DaikinZoneSwitch(daikin_api, zone_id)
for zone_id, zone in enumerate(zones)
if zone != ("-", "0")
if zone[0] != ("-", "0")
]
)
if daikin_api.device.support_advanced_modes:
Expand Down Expand Up @@ -90,11 +90,11 @@ async def async_update(self) -> None:

async def async_turn_on(self, **kwargs: Any) -> None:
"""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:
"""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):
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ pycsspeechtts==1.0.8
# pycups==1.9.73

# homeassistant.components.daikin
pydaikin==2.9.0
pydaikin==2.9.1

# homeassistant.components.danfoss_air
pydanfossair==0.1.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ pycoolmasternet-async==0.1.5
pycsspeechtts==1.0.8

# homeassistant.components.daikin
pydaikin==2.9.0
pydaikin==2.9.1

# homeassistant.components.deconz
pydeconz==112
Expand Down

0 comments on commit 07dd34b

Please sign in to comment.