A Lovelace custom card for custom component Pollenprognos in Home Assistant.
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.
title: My awesome Lovelace!
resources:
- url: /local/pollenprognos-card.js
type: module
views:
title: My view
cards:
- type: 'custom:pollenprognos-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:home-assistant-pollen-card |
city | string | Required | City from which you have sensors (note: Bräkne-Hoby has to be written as Bräkne_Hoby , otherwise it will not work) |
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. |
Like my work and want to say thanks? Do it here: