code: def add_device_callback(self, callback):
          
          _LOGGER.debug('Added new callback %s ', callback)
          self._cb_new_device.append(callback)
docs: Register a callback to be invoked when a new device appears.