/**
   * Finds and returns a child thing for a given UID of this bridge.
   *
   * @param uid uid of the child thing
   * @return child thing with the given uid or null if thing was not found
   */
  public Thing getThingByUID(ThingUID uid) {

    Bridge bridge = getThing();

    List<Thing> things = bridge.getThings();

    for (Thing thing : things) {
      if (thing.getUID().equals(uid)) {
        return thing;
      }
    }

    return null;
  }