code: async def get_data(self):
          
          try:
              async with async_timeout.timeout(5, loop=self._loop):
                  response = await self._session.get(self.base_url)
  
              _LOGGER.info(
                  "Response from OpenSenseMap API: %s", response.status)
              self.data = await response.json()
              _LOGGER.debug(self.data)
  
          except (asyncio.TimeoutError, aiohttp.ClientError, socket.gaierror):
              _LOGGER.error("Can not load data from openSenseMap API")
              raise exceptions.OpenSenseMapConnectionError
docs: Get details of OpenSenseMap station.