Skip to content

Commit ac34b89

Browse files
authored
v0.6.6
v0.6.6
2 parents acfe2ba + 99887d6 commit ac34b89

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pysmartthings/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Define consts for the pysmartthings package."""
22

33
__title__ = "pysmartthings"
4-
__version__ = "0.6.5"
4+
__version__ = "0.6.6"

pysmartthings/device.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,9 @@ async def set_air_conditioner_mode(
916916
self, mode: str, *, set_status: bool = False,
917917
component_id: str = 'main'):
918918
"""Call the set air conditioner mode command."""
919-
result = self.command(component_id, Capability.air_conditioner_mode,
920-
Command.set_air_conditioner_mode, [mode])
919+
result = await self.command(
920+
component_id, Capability.air_conditioner_mode,
921+
Command.set_air_conditioner_mode, [mode])
921922
if result and set_status:
922923
self.status.update_attribute_value(
923924
Attribute.air_conditioner_mode, mode)

0 commit comments

Comments
 (0)