diff --git a/wyze_sdk/api/devices/bulbs.py b/wyze_sdk/api/devices/bulbs.py index f0373e6..ca05df2 100644 --- a/wyze_sdk/api/devices/bulbs.py +++ b/wyze_sdk/api/devices/bulbs.py @@ -180,7 +180,7 @@ def set_color(self, *, device_mac: str, device_model: str, color: str, **kwargs) if device_model not in DeviceModels.MESH_BULB: raise WyzeFeatureNotSupportedError("set_color") - prop_def = BulbProps.color()() + prop_def = BulbProps.color() prop_def.validate(color) return super()._api_client().run_action_list( diff --git a/wyze_sdk/models/devices/bulbs.py b/wyze_sdk/models/devices/bulbs.py index 34d0d16..1d334b7 100644 --- a/wyze_sdk/models/devices/bulbs.py +++ b/wyze_sdk/models/devices/bulbs.py @@ -182,7 +182,7 @@ def color(self, value: Union[str, DeviceProp]): @classmethod def props(cls) -> dict[str, PropDef]: return {**Bulb.props(), **{ - "color": BulbProps.color()(), + "color": BulbProps.color(), "remaining_time": BulbProps.remaining_time(), "control_light": BulbProps.control_light(), "power_loss_recovery": BulbProps.power_loss_recovery(), # remember_off