From 452aaf7e1ac7061a7d5b1021caef15f8e1b57f91 Mon Sep 17 00:00:00 2001 From: rewardone <22638751+rewardone@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:56:57 +0000 Subject: [PATCH] Update ayla_iot_unofficial.py add 'Water Softener' device name to known softener device types --- src/ayla_iot_unofficial/ayla_iot_unofficial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ayla_iot_unofficial/ayla_iot_unofficial.py b/src/ayla_iot_unofficial/ayla_iot_unofficial.py index dd83a6c..2aaf428 100644 --- a/src/ayla_iot_unofficial/ayla_iot_unofficial.py +++ b/src/ayla_iot_unofficial/ayla_iot_unofficial.py @@ -70,7 +70,7 @@ def __init__( self.ads_url = ADS_BASE self.rulesservice_url = RULESSERVICE_BASE self._vacuum_devices = ["Vacuum","SharkIQ"] - self._softener_devices = ["Softener","Smart HE"] + self._softener_devices = ["Softener","Smart HE","Water Softener"] async def ensure_session(self) -> ClientSession: """Ensure that we have an aiohttp ClientSession""" @@ -359,4 +359,4 @@ async def async_get_all_notifications(self, device_id) -> Dict[str, str]: response = await resp.json()["notification"] if resp.status == 401: raise AylaAuthError() - return response \ No newline at end of file + return response