'Update the switch state (Only for clean).'

def update(self):

    if ((self.type == 'clean') and (not self.is_update_locked())):
        self._tc_object.update()
        self._state = (STATE_ON if self._tc_object.is_cleaning else STATE_OFF)
