Provides per-pollen-type index and category sensors for one or more locations using the Google Pollen API.
Each configured location exposes the following sensors:
| Sensor | Default | Description |
|---|---|---|
| {Type} pollen index | Enabled | UPI value (0–5) for that pollen type |
| {Type} pollen category | Enabled | Text label for that type's level |
| {Type} pollen index description | Disabled | Textual explanation of the current index level |
| {Type} pollen color | Disabled | Hex color code representing the index level (e.g., #ff0000) |
| {Type} pollen health recommendations | Disabled | Health guidance for the current pollen level |
The pollen index sensors include long-term statistics support. Disabled-by-default sensors can be enabled individually under Settings → Devices & services.
You need a Google Cloud project with the Pollen API enabled and a valid API key. Follow Google's get an API key guide to create one.
- Open HACS in Home Assistant.
- Go to Integrations and click the menu (⋮) → Custom repositories.
- Add this repository URL and select Integration as the category.
- Search for Google Pollen and click Download.
- Restart Home Assistant.
- Copy the
custom_components/google_pollenfolder into your<config>/custom_components/directory. - Restart Home Assistant.
- Go to Settings → Devices & services → Add integration.
- Search for Google Pollen.
- Enter your API key and pick your first location.
- Additional locations can be added later via the integration's Add location option.
If your API key becomes invalid or unauthorized, Home Assistant prompts you to reauthenticate. Enter a valid API key to restore updates without removing your locations or sensors. Any configured HTTP referrer remains in use.
This integration was largely developed with the help of Claude. I spent time on this for my own use however decided to also make it available in case it'd help others.