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

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgenium authored Jan 3, 2019
1 parent 9faba3c commit 6ccbfd7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Weather card

![openweathermap](https://user-images.githubusercontent.com/33804747/50626516-eb41af80-0f58-11e9-9813-95c2a16a937b.png)

## Configuration

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

```yaml
# Example ui-lovelace.yaml entry
resources:
- type: module
url: /local/custom-weather-card-chart.js
title: Home Assistant
views:
- title: Main
cards:
- type: 'custom:weather-card-chart'
title: Погода
weather: weather.openweathermap
sun: sun.sun
```
#### 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 |
| sun | Yes | Should be `sun.sun`. Show sunrise and sunset time |
| temp | Yes | Entity_id of the temperature sensor. Show temperature value from sensor instead |

0 comments on commit 6ccbfd7

Please sign in to comment.