diff --git a/pyproject.toml b/pyproject.toml index 5530310..55db560 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "ayla_iot_unofficial" -version = "1.0.9" +version = "1.0.10" authors = [ { name="Reward One", email="rewardone@gmail.com" }, ] diff --git a/src/ayla_iot_unofficial/__init__.py b/src/ayla_iot_unofficial/__init__.py index b4c577f..e247402 100644 --- a/src/ayla_iot_unofficial/__init__.py +++ b/src/ayla_iot_unofficial/__init__.py @@ -13,4 +13,4 @@ AylaReadOnlyPropertyError, ) -__version__ = '1.0.9' \ No newline at end of file +__version__ = '1.0.10' \ No newline at end of file diff --git a/src/ayla_iot_unofficial/device.py b/src/ayla_iot_unofficial/device.py index 8070829..6359c70 100644 --- a/src/ayla_iot_unofficial/device.py +++ b/src/ayla_iot_unofficial/device.py @@ -691,6 +691,7 @@ def start_vacation_mode(self): PropertyName = "vacation_mode" # because _clean property, 'set' is removed ... "set_vacation_mode" PropertyValue = 1 self.set_property_value(PropertyName, PropertyValue) + return True async def async_start_vacation_mode(self): """ @@ -700,6 +701,7 @@ async def async_start_vacation_mode(self): PropertyName = "vacation_mode" # because _clean property, 'set' is removed ... "set_vacation_mode" PropertyValue = 1 await self.async_set_property_value(PropertyName, PropertyValue) + return True def stop_vacation_mode(self): """ @@ -709,6 +711,7 @@ def stop_vacation_mode(self): PropertyName = "vacation_mode" # because _clean property, 'set' is removed ... "set_vacation_mode" PropertyValue = 0 self.set_property_value(PropertyName, PropertyValue) + return True async def async_stop_vacation_mode(self): """ @@ -718,6 +721,7 @@ async def async_stop_vacation_mode(self): PropertyName = "vacation_mode" # because _clean property, 'set' is removed ... "set_vacation_mode" PropertyValue = 0 await self.async_set_property_value(PropertyName, PropertyValue) + return True class DevicePropertiesView(abc.Mapping): """Convenience API for device properties"""