Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgenium authored Jan 6, 2019
1 parent dc53ea6 commit 0f3c8cd
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,29 @@

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

Add a reference to the copied file:
```yaml
# Example ui-lovelace.yaml entry
resources:
- type: module
url: /local/custom-weather-card-chart.js
title: Home Assistant
views:
- title: Main
cards:
```
Then you can add the card to the view:
```yaml
# Example ui-lovelace.yaml entry
- type: 'custom:weather-card-chart'
title: Weather
weather: weather.openweathermap
sun: sun.sun
```
You can update this card using [custom updater](https://github.com/custom-components/custom_updater). To do this, add these lines to `custom_updater` configuration in `configuration.yaml`:
```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 |
Expand Down

0 comments on commit 0f3c8cd

Please sign in to comment.