A Lovelace custom card for custom component DWD Pollenflug in Home Assistant based on the great work of @isabellaalstrom pollenprognos-card and @TekniskSupport.
You need to manually move the folder pollen_img directly inside your www folder for the images to appear.
For installation instructions see this guide.
Pick the allergens you want to display.
For ui-mode:
type: custom:pollenprognose-card
region_desc: Oberrhein und unteres Neckartal
region_id: 111
allergens:
- Birke
- Erle
- Hasel
- Esche
- Graeser
- Roggen
- Beifuss
- AmbrosiaFor yaml-mode:
- type: custom:pollenprognose-card
region_desc: Oberrhein und unteres Neckartal
region_id: 111
allergens:
- Birke
- Erle
- Hasel
- Esche
- Graeser
- Roggen
- Beifuss
- AmbrosiaUsage in a view:
title: My awesome Lovelace!
resources:
- url: /local/pollenprognose-card.js
type: module
views:
title: My view
cards:
- type: custom:pollenprognose-card
region_desc: Oberrhein und unteres Neckartal
region_id: 111
allergens:
- Birke
- Erle
- Hasel
- Esche
- Graeser
- Roggen
- Beifuss
- Ambrosia| Name | Type | Default | Description |
|---|---|---|---|
| type | string | Required | custom:home-assistant-pollen-card |
| region_desc | string | Required | Name of the region, is only used for display in header. |
| region_id | string | Required | The region id as defined by DWD (same as in DWD Pollenflug component). |
| allergens | list | Required | List of allergens for which you have sensors |
| title | boolean | Optional | Set to false to remove the heading from the card |
| show_state | boolean | Optional | Set to false if you don't want to show the state text under the images. |
| forecast | boolean | Optional | Set to true to see the forecast for tomorrow indicated with an additional smaller leaf. |
| filter_unknown | boolean | Optional | Set to true to only see actually active pollen. |
