#NEWLINE# def turn_off( self , **kwargs ) : #NEWLINE# #INDENT# 'Turn the device off.' #NEWLINE# ret = self . _turn_off_rgb_or_w ( ) #NEWLINE# ret = self . _turn_off_dimmer ( value_type = ret [ ATTR_VALUE_TYPE ] , value = ret [ ATTR_VALUE ] ) #NEWLINE# ret = self . _turn_off_light ( value_type = ret [ ATTR_VALUE_TYPE ] , value = ret [ ATTR_VALUE ] ) #NEWLINE# self . _turn_off_main ( value_type = ret [ ATTR_VALUE_TYPE ] , value = ret [ ATTR_VALUE ] )