Skip to content

lenne0815/lovelace-weather-card-chart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Weather card

openweathermap-eng

Configuration

Copy custom-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/custom-weather-card-chart.js

Then you can add the card to the view:

# Example Lovelace UI config entry
  - type: 'custom:weather-card-chart'
    title: Weather
    weather: weather.openweathermap

You can update this card using custom updater. To do this, add these lines to custom_updater configuration in configuration.yaml:

# Example configuration.yaml entry
custom_updater:
  card_urls:
    - https://raw.githubusercontent.com/sgttrs/lovelace-weather-card-chart/master/custom-updater.json

Configuration variables:

Name Optional Description
type No Should be 'custom:weather-card-chart'
title No Card title
weather 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

About

Custom weather card with charts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%