Code Monkey home page Code Monkey logo

lovelace-dwd-pollenprognose-card-ottes's Introduction

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

lovelace-dwd-pollenprognose-card-ottes's People

Contributors

leahoswald avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.