A Lovelace card to display the sensor data from the integration DWD Pollenflug.
Based on the original Pollenprognos card
In minimal mode, you might notice some odd spelling. For instance, "Hassel" is shortened to "Hssel". This is to avoid line breaks which would break symmetry. Let me know if this bothers you. Create an issue on the repo or send me a PM. I can add an option to turn it off, if there's interest.
Spelling in the normal (that is, not-minimal) card is as expected. ;-)
Name | Type | Default | Description |
---|---|---|---|
type | string | Required | custom:pollen-card |
city | string | Required | City from which you have sensors |
allergens | list | Required | List of allergens for which you have sensors |
days_to_show | integer | Optional | How many days to show, 0 (only allergen) to 4. Default: 4. |
minimal | boolean | Optional | Use minimal, flexible layout |
pollen_threshold | integer | Optional | Threshold of pollen value, for any of days 1-4, to show. Possible values: 0 to 6. Default: 1. |
show_text | boolean | Optional | Set to true if you want to show the state text under the images |
sort | string | Optional | Change how list of allergens is sorted. Possible values: value_ascending , value_descending , name_ascending (default), and name_descending . If sorted by value, today's value is used. |
title | boolean | Optional | Custom title if string, boolean value if generated or not to show. Default is generated text |