Skip to content

Commit

Permalink
remove setlevel with TuyaHUeandSaturation
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 authored Oct 23, 2023
1 parent f2da4a2 commit 8b39dbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modules/actuators.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ def handle_color_mode_tuya( self, nwkid, EPout, Hue_List, value):
if get_deviceconf_parameter_value(self, self.ListOfDevices[nwkid]["Model"], "TUYAColorControlRgbMode", return_default=None):
tuya_color_control_rgbMode( self, nwkid, "01")
tuya_Move_To_Hue_Saturation( self, nwkid, EPout, hue, saturation, transitionHue )
actuator_setlevel(self, nwkid, EPout, value, "Light", transitionMoveLevel)

def actuator_identify(self, nwkid, ep, value=None):

Expand Down Expand Up @@ -422,4 +421,4 @@ def device_color_capabilities( self, nwkid, ep):
ReadAttributeRequest_0300_Color_Capabilities(self, nwkid)
return []

return decode_color_capabilities(colorCapabilities)
return decode_color_capabilities(colorCapabilities)

0 comments on commit 8b39dbc

Please sign in to comment.