Giter VIP home page Giter VIP logo

lovelace-weather-card-chart's Introduction

OWM nws

Configuration

Copy weather-card-chart.js from this repository into your config/www directory first.

Add a reference to the copied file:

# Example Lovelace UI config entry
resources:
- type: module
  url: /local/weather-card-chart.js

Then you can add the card to the view:

# Example Lovelace UI config entry
 - type: custom:weather-chart-card
   entity: weather.khlx_daynight
   mode: twice_daily
   title: NWS FG
   units:
     pressure: inHg
     speed: mph
   options:
     temp: sensor.fancygap_temperatureout
     feels_like: sensor.fancygap_feelslikeout
     humidity: sensor.fancygap_humidityout
     pressure: sensor.fancygap_rel_pressure
     option1: sensor.fancygap_dailyrain
     option2: sensor.fancygap_hourlyrain
     option3: sensor.fancygap_eventrain

Configuration variables:

Name Optional Description
type No Should be 'custom:weather-card-chart'
title No Card title
entity No An entity_id with the weather domain
temp Yes Entity_id of the temperature sensor. Show temperature value from sensor instead
mode Yes Default value: daily. Set mode to hourly to display hours instead weekdays on the chart
feels_like Yes Entity_id of the feels like sensor. Add under temp
humidity Yes Entity_id of the humitiy sensor.
pressure Yes Entity_id of the pressure sensor.
option1 Yes Entity_id of the optional sensor.
option2 Yes Entity_id of the optional sensor.
option3 Yes Entity_id of the optional sensor.

lovelace-weather-card-chart's People

Contributors

adrianbyv avatar einschmidt avatar fancygaphtrn avatar lissmeister avatar scstraus avatar yevgenium avatar

Stargazers

 avatar  avatar

Forkers

jsmeldru

lovelace-weather-card-chart's Issues

How interested would you be in some PRs for new features?

Hi there, I very much like your take on this card and it looks like you are doing a a good job of maintaining it.

I'm also maintaining a fork of this card which, like yours, has some additional features. Mine being the ability to take an hourly feed but average it out over 3 hour increments so it can display a full 24 hour chart rather than the 9 hours you'd get by default. I'd like to join forces on maintaining a more feature rich card as Yevgeniy doesn't really accept new features into his card. Would you be interested in accepting a FR like that if I were to come add it to your card's codebase? Just want to make sure I wouldn't be wasting effort on that to make it pretty.

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.