code: def get_device(_id):
          
          url = DEVICE_URL % _id
          arequest = requests.get(url, headers=HEADERS)
          status_code = str(arequest.status_code)
          if status_code == '401':
              _LOGGER.error("Token expired.")
              return False
          return arequest.json()
docs: Pull a device from the API.