A Lovelace custom card for custom component Pollenkoll in Home Assistant.
To use this card you have to have days_to_track
set to a minimum of 3
, and state_as_string
has to be false or not set (default false).
This card requires card-tools to be installed.
For installation instructions see this guide.
Pick the allergens you want to display.
title: My awesome Lovelace!
resources:
- url: /local/card-tools.js
type: js
- url: /local/pollenkoll-card.js
type: js
views:
title: My view
cards:
- type: custom:pollenkoll-card
title: false
city: Stockholm
allergens:
- Al
- Alm
- Ambrosia
- Björk
- Ek
- Gråbo
- Gräs
- Hassel
- Sälg / vide # this one is important you write just like this.
Name | Type | Default | Description |
---|---|---|---|
type | string | Required | custom:pollenkoll-card |
city | string | Required | Lower case city from which you have sensors |
allergens | list | Required | List of allergens for which you have sensors |
title | boolean | Optional | Set to false to remove the heading from the card |
minimal | boolean | Optional | Set to true to show only todays pollen levels in a smaller card |
compact | boolean | Optional | Set to false to have the three day forecast with bigger images. |
show_state | boolean | Optional | Set to false if you don't want to show the state text under the images. |
The minimal card:
Like my work and want to say thanks? Do it here: