Skip to content

A Lovelace custom card for custom component DWD Pollenflug in Home Assistant

License

Notifications You must be signed in to change notification settings

bhuebschen/dwd-pollenprognos-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pollenprognos-card

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.

Installation

For installation instructions see this guide.

Example configuration

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.

Options

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.

Example of the card with all allergens presented

2021-04-23 14_24_23-Admin - Home Assistant

Like my work and want to say thanks? Do it here:

Buy Me A Coffee

About

A Lovelace custom card for custom component DWD Pollenflug in Home Assistant

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%