code: async def get_scan_result(self):
          
          endpoint = '/setup/bluetooth/scan_results'
          url = API.format(ip=self._ipaddress, endpoint=endpoint)
          try:
              async with async_timeout.timeout(5, loop=self._loop):
                  response = await self._session.get(url)
                  self._devices = await response.json()
                  _LOGGER.debug(self._devices)
          except (asyncio.TimeoutError,
                  aiohttp.ClientError, socket.gaierror) as error:
              _LOGGER.error('Error connecting to %s - %s', self._ipaddress, error)
docs: Scan for bluetooth devices.