docs: def set_alarm_state(self, state):
          """
          :param state: a boolean of ture (on) or false ('off')
          :return: nothing
          """
          values = {"desired_state": {"alarm_enabled": state}}
          response = self.api_interface.set_device_state(self, values)
          self._update_state_from_response(response)