Giter VIP home page Giter VIP logo

pollen-hu-card's Introduction

hacs_badge

Buy me a coffee

Custom Lovelace card for pollen information in Hungary

This Lovelace custom card displays pollen information provided by Pollen Information Integration filtered based on concentration level. You will need to install first the Pollen Information Hungary integration from HACS.

Installation

The easiest way to install it is through HACS (Home Assistant Community Store), search for Pollen Information in the Frontend section and select Pollen Information for Hungary.
If you are not using HACS, you may download plolen-hu-card.js and put it into homeassistant_config_dir/www/community/pollen-hu-card/ directory.

Lovelace UI configuration

Please add the card to the resources in configuration.yaml:

resources:
  - {type: module, url: '/hacsfiles/pollen-hu-card/pollen-hu-card.js'}

Options

Card options

Name Type Required Default Description
type string required custom:pollen-hu-card
title string optional Pollens title
sensor_name string optional pollen_hu name of the sensor
above_level integer optional 2 display pollens above level (see below)

Value mappings for above_level (source: ÁNTSZ):

Description Concentration level Icon color
not present 0 grey
low 1 green
medium 2 yellow
high 3 orange
very high 4 red

Please find below an example of ui-lovelace.yaml card entry:

    cards:
      - type: custom:pollen-hu-card
        above_level: 1
        title: Pollenek

Pollen information with above_level=0:

Pollen above_level

Thanks

Thanks to all the people who have contributed!

contributors

pollen-hu-card's People

Contributors

amaximus avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pollen-hu-card's Issues

Problem with the display of pollen

Hi,

I installed the supplement, but the card does not show any pollen, it just says no pollen.
If I do not display it with the card, it displays one.
I've modified everything on the card but they don't show up.

type: custom:pollen-hu-card
sensor_name: sensor.pollen_adatok
above_level: 0
title: Pollenek

I have tried everything in the sensor selection (entity, sensor,)
Thanks in advance for any help if you can tell me what I'm getting wrong.
(The sensor name is the same as the entity name.)

Gábor

Csak bizonyos allergének?

Szia, megoldható az jelenleg valahogy, hogy csak 1-2 féle pollent jelezzen ki (feltéve ha jelen van)? Másképp: parlagfűre vagyok allergiás, a többi pollen nem igazán érdekel. Vagy az eredeti szenzorból kellene valahogy egy származtatott másik dedikált szenzort csinálni?

Beállítás

Szia!

Nincs valami magyar , szájbarágós leírás, hogy a jó istenbe kell ezt beállítani ?
Mert sem ezzel, sem a MET alertsel nem jutok egyről a kettőre..... Hacsba telepítettem őket, de aztán hogyan tovább....

Default sensor name

Just to clarify, default sensor name should be:
pollen_adatok
since this is the default sensor name in the integration.

So card settings should look like something like this:

type: custom:pollen-hu-card
above_level: 0
title: Aktuális pollenek
sensor_name: pollen_adatok

Köszönöm szépen a munkádat!

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.