:param state: a boolean True (on) or False (off)
        :return: nothing

def set_schedule_enabled(self, state):
        """
        :param state: a boolean True (on) or False (off)
        :return: nothing
        """
        desired_state = {"schedule_enabled": state}

        response = self.api_interface.set_device_state(self, {
            "desired_state": desired_state
        })

        self._update_state_from_response(response)