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.jsThen you can add the card to the view:
# Example Lovelace UI config entry
- type: 'custom:weather-card-chart'
title: Weather
weather: weather.openweathermapYou 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| 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 |
