Skip to content

ottes/lovelace-dwd-pollenprognose-card-ottes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

pollenprognose-card-ottes

A fork of the great work of leahoswald's work on a card, but not useable with HACS. Here is the custom card, you could use.

Origins

A Lovelace custom card for https://github.com/mampfes/hacs_dwd_pollenflug in Home Assistant based on the great work of https://github.com/isabellaalstrom/, https://github.com/isabellaalstrom/lovelace-pollenprognos-card and https://github.com/TekniskSupport.

Installation

Not now, maybe future:The easiest way to install it is through HACS (Home Assistant Community Store), search for Pollenprognose Card Ottes in the Frontend section and install it (or another fork?).

For fow: Install this repo as Custom repo and search for Pollen on the frontent

If you are NOT using HACS, you may download -ottes.js plus the images folder and put it into homeassistant_config_dir/www/community/lovelace-dwd-pollenprognose-card-ottes/ directory.

Example usage

Pick the allergens you want to display.

For ui-mode:

type: custom:pollenprognose-card-ottes
region_desc: Nordhessen und hess. Mittelgebirge
region_id: 91
allergens:
  - Birke
  - Erle
  - Hasel
  - Esche
  - Graeser
  - Roggen
  - Beifuss
  - Ambrosia

For yaml-mode:

- type: custom:pollenprognose-card-ottes
  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:pollenprognose-card-ottes
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 (find Name from DWD Component and enter ID of it here)
allergens list Required List of allergens for which you have sensors, defined at hacs_dwd_pollenflug
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