Skip to content

leahoswald/lovelace-dwd-pollenprognose-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

pollenprognose-card

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.

Installation

For installation instructions see this guide.

Example usage

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
  - Ambrosia

For yaml-mode:

- type: custom:pollenprognose-card
  region_desc: Oberrhein und unteres Neckartal
  region_id: 111
  allergens:
    - Birke
    - Erle
    - Hasel
    - Esche
    - Graeser
    - Roggen
    - Beifuss
    - Ambrosia

Usage 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

Options

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.

Example of the card with all allergens presented

Screenshot2022-02-13_17-16-48

About

Lovelace custom card for custom component DWD Pollenflug

Resources

Stars

Watchers

Forks

Packages

No packages published