GithubHelp home page GithubHelp logo

ioull / meteo-france-weather-card Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imbuzi/meteo-france-weather-card

0.0 0.0 0.0 773 KB

Weather Card with animated icons for Home Assistant Lovelace adapted to display all informations from Météo France integration

License: Other

meteo-france-weather-card's Introduction

Lovelace animated weather card

Originally created for the old UI converted by @arsaboo and @ciotlosm to Lovelace and now adapted to display all informations available in the Météo-France integration.

This card uses the awesome animated SVG weather icons by amCharts.

Weather Card

Thanks for all picking this card up.

Installation

You have 2 options, hosted or self hosted (manual). We strongly recommend to install using the first option, as it will update itself (by the way, it needs internet).

The instructions aren't givent to install it self-hosted, as this is a standard installation procedure.

Hosted

Add the following to resources in your lovelace config:

resources:
    url: https://cdn.jsdelivr.net/gh/Imbuzi/meteo-france-weather-card/dist/meteo-france-weather-card.js
    type: module

You can also specify a specific tag or version in the URL by adding @x.x :

resources:
    url: https://cdn.jsdelivr.net/gh/Imbuzi/[email protected]/dist/meteo-france-weather-card.js
    type: module

Configuration

And add a card with type custom:meteo-france-weather-card:

type: custom:meteo-france-weather-card

Then you can switch to visual editor to see the available options.

You can choose wich elements of the weather card you want to configure, only the weather entity is required for the card to work properly.

If you want to show the sunrise and sunset times, make sure the sun component is enabled:

# Example configuration.yaml entry
sun:

This is a basic example of the config for a full-configured card (there is just missing the "icon" attribute, only needed to switch to another icon library) :

type: 'custom:meteo-france-weather-card'
name: Ville
entity: weather.ville
rainForecastEntity: sensor.ville_next_rain
freezeChanceEntity: sensor.ville_freeze_chance
rainChanceEntity: sensor.ville_rain_chance
snowChanceEntity: sensor.ville_snow_chance
thunderChanceEntity: sensor.ville_thunder_chance
alertEntity: sensor.ville_weather_alert
uvEntity: sensor.ville_uv

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.