code: def _add_sensor(self, sensor):
          
          self._parent_to_children[sensor] = set()
          self._child_to_parents[sensor] = set()
docs: Add a new sensor to the tree.
  
          Parameters
          ----------
          sensor : :class:`katcp.Sensor` object
              New sensor to add to the tree.