Giter Club home page Giter Club logo

lovelace-qweather-rain-card's Introduction

Home Assistant QWeather Forecast Card

Graph of QWeather rain forecast 和风天气-降雨量卡片 修改自lukevink/lovelace-buien-rain-card

如果想要免费使用和风天气的API,使用前需要注册和风天气的账号并完成实名制,成为免费开发版开发者(Free Dev Developer)

Preview Image

Simple install

  1. Download and copy qweather-rain-card.js into your config/www directory.

  2. Add a reference to qweather-rain-card.js inside your ui-lovelace.yaml.

resources:
  - url: /local/qweather-rain-card.js
    type: module

Add as a card to your UI

  - type: 'custom:qweather-rain-forecast'
    qweather_key: ********************************
    long: 104.06
    lat: 30.67
    lineColor: 'rgba(89, 160, 238, 1)'
    fillColor: 'rgba(89, 160, 238, 0.2)'
    update_interval: 60
    icon: 'mdi:weather-rainy'

(update interval is in seconds)

An example in my own UI as a Picture Element:

Preview Image

lovelace-qweather-rain-card's People

Contributors

mashiro-sorata avatar

Stargazers

 avatar

Watchers

 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.