{"record":{"id":"d095c0f68ffc2d1e","repo":"home-assistant/core","slug":"an-error-occurred-while-retrieving-data-from-the-a","errorCode":null,"errorMessage":"An error occurred while retrieving data from the Airly API for {entry}: no measuring stations in this area","messagePattern":"An error occurred while retrieving data from the Airly API for (.+?): no measuring stations in this area","errorType":"exception","errorClass":"UpdateFailed","httpStatus":null,"severity":"warning","filePath":"homeassistant/components/airly/coordinator.py","lineNumber":138,"sourceCode":"            \"Requests remaining: %s/%s\",\n            self.airly.requests_remaining,\n            self.airly.requests_per_day,\n        )\n\n        # Airly API sometimes returns None for requests remaining so we update\n        # update_interval only if we have valid value.\n        if self.airly.requests_remaining:\n            self.update_interval = set_update_interval(\n                len(self.hass.config_entries.async_entries(DOMAIN)),\n                self.airly.requests_remaining,\n            )\n\n        values = measurements.current[\"values\"]\n        index = measurements.current[\"indexes\"][0]\n        standards = measurements.current[\"standards\"]\n\n        if index[\"description\"] == NO_AIRLY_SENSORS:\n            raise UpdateFailed(\n                translation_domain=DOMAIN,\n                translation_key=\"no_station\",\n                translation_placeholders={\"entry\": self.config_entry.title},\n            )\n        for value in values:\n            data[value[\"name\"]] = value[\"value\"]\n        for standard in standards:\n            data[f\"{standard['pollutant']}_LIMIT\"] = standard[\"limit\"]\n            data[f\"{standard['pollutant']}_PERCENT\"] = standard[\"percent\"]\n        data[ATTR_API_CAQI] = index[\"value\"]\n        data[ATTR_API_CAQI_LEVEL] = index[\"level\"].lower().replace(\"_\", \" \")\n        data[ATTR_API_CAQI_DESCRIPTION] = index[\"description\"]\n        data[ATTR_API_ADVICE] = index[\"advice\"]\n        return data\n","sourceCodeStart":120,"sourceCodeEnd":153,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/airly/coordinator.py#L120-L153","documentation":"Raised by the Airly coordinator after a successful API response when the first air-quality index entry's description equals NO_AIRLY_SENSORS, meaning the nearest/point location has no measuring stations providing data. It is an UpdateFailed with translation key no_station, so the entry keeps retrying but data will not appear until a station comes online or coordinates change.","triggerScenarios":"Configured latitude/longitude resolve (via /v2/nearest or /v2/point) to an area where Airly reports no sensors — remote areas, oceans, or regions outside Airly's station coverage; or all nearby stations are temporarily offline.","commonSituations":"Using home-assistant coordinates outside Europe where Airly has no coverage, or typo'd/garbage coordinates (e.g. 0,0 default) in the config entry.","solutions":["Verify the coordinates in the config entry are the intended location (not defaults or swapped lat/long)","Check the Airly map (map.airly.org) to confirm an active station within range of the coordinates","If a station exists but is offline, wait for it to resume and let the coordinator retry","If the region genuinely has no coverage, remove the Airly entry and use a different air-quality provider"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"# Before adding the entry, confirm Airly has a station near the coordinates:\n# curl -H \"apikey: $KEY\" \"https://api.airly.eu/v2/nearest?lat=..&lng=..&maxDistanceKm=5\"\n# A non-empty `station` field in the response means the area is covered.","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Check map.airly.org coverage for your location before adding the integration","Validate lat/long in the entry (no swapped or default 0,0 values)","Airly coverage is Europe-centric; pick another provider elsewhere"],"tags":["airly","home-assistant","geolocation","coverage"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}