From b513bffcd482069be7ba73b3c986d73b68814228 Mon Sep 17 00:00:00 2001 From: Shaun Tarves Date: Wed, 8 Jun 2022 15:02:45 -0400 Subject: [PATCH] fix: missing () on BulbProps.away_mode (#85) Co-authored-by: Shaun Tarves --- wyze_sdk/api/devices/bulbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wyze_sdk/api/devices/bulbs.py b/wyze_sdk/api/devices/bulbs.py index ca05df2..b8db8af 100644 --- a/wyze_sdk/api/devices/bulbs.py +++ b/wyze_sdk/api/devices/bulbs.py @@ -231,7 +231,7 @@ def _set_away_mode_enabled(self, *, device_mac: str, device_model: str, **kwargs ) def _set_away_mode_disbled(self, *, device_mac: str, device_model: str, **kwargs) -> WyzeResponse: - prop_def = BulbProps.away_mode + prop_def = BulbProps.away_mode() if device_model in DeviceModels.MESH_BULB: return super()._api_client().run_action_list(