code: async def async_get_bridgeid(session, host, port, api_key, **kwargs):
      
      url = 'http://{}:{}/api/{}/config'.format(host, str(port), api_key)
  
      response = await async_request(session.get, url)
  
      bridgeid = response['bridgeid']
      _LOGGER.info("Bridge id: %s", bridgeid)
      return bridgeid
docs: Get bridge id for bridge.