docs: def set_child_value(
              self, sensor_id, child_id, value_type, value, **kwargs):
          """Add a command to set a sensor value, to the queue.
  
          A queued command will be sent to the sensor when the gateway
          thread has sent all previously queued commands.
  
          If the sensor attribute new_state returns True, the command will be
          buffered in a queue on the sensor, and only the internal sensor state
          will be updated. When a smartsleep message is received, the internal
          state will be pushed to the sensor, via _handle_smartsleep method.
          """
          if not self.is_sensor(sensor_id, child_id):
              return
          if self.sensors[sensor_id].new_state:
              self.sensors[sensor_id].set_child_value(
                  child_id, value_type, value,
                  children=self.sensors[sensor_id].new_state)
          else:
              self.add_job(partial(
                  self.sensors[sensor_id].set_child_value, child_id, value_type,
                  value, **kwargs))