docs: def set_dial(self, json_value, index, timezone=None):
          """
          :param json_value: The value to set
          :param index: The dials index
          :param timezone: The time zone to use for a time dial
          :return:
          """
  
          values = self.json_state
          values["nonce"] = str(random.randint(0, 1000000000))
          if timezone is None:
              json_value["channel_configuration"] = {"channel_id": "10"}
              values["dials"][index] = json_value
              response = self.api_interface.set_device_state(self, values)
          else:
              json_value["channel_configuration"] = {"channel_id": "1", "timezone": timezone}
              values["dials"][index] = json_value
              response = self.api_interface.set_device_state(self, values)
          return response