From 01e680b4f9e3384e8ec646d27585a13142349ea1 Mon Sep 17 00:00:00 2001 From: AitorDB Date: Mon, 17 May 2021 22:50:37 +0100 Subject: [PATCH] Update readme with missing changes --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6289425..064347f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Homeassistant sun card -Home assistant sun card based on Google weather design +# Home assistant Sun card +Home assistant Sun card based on Google weather design ## Preview ![image](https://user-images.githubusercontent.com/6829526/118412152-54d93900-b690-11eb-8b2b-e87b4cbcca7f.png) @@ -7,8 +7,7 @@ Home assistant sun card based on Google weather design ## Install ### HACS -1. Go to `HACS > Frontend` and click on settings (3 dots in the top right corner) and click on custom repositories. -1. Add `https://github.com/AitorDB/home-assistant-sun-card` as URL and choose Lovelace as category. +Home assistant Sun card is available by default on HACS directory. More info [here](https://hacs.xyz/). ### Manually 1. Download the `home-assistant-sun-card.js` file from the latest release available and save it in your `configuration/www` folder. @@ -20,14 +19,16 @@ Home assistant sun card based on Google weather design Note: If `Custom: Sun card` doesn't appear you will have to reload cleaning the cache. ## Config -| Name | Accepted values | Description | Default | -|---------------|-----------------|--------------------------------------|-----------------------------------------------------| -| darkMode | `boolean` | Changes card colors to dark or light | Home assistant dark mode state | -| language | `'es'`/`'en'` | Changes card language | Home assistant language or english if not supported | -| showAzimuth | `boolean` | Displays azimuth in the footer | `false` | -| showElevation | `boolean` | Displays elevation in the footer | `false` | -| timeFormat | `'12h'`/`'24h'` | Displayed time format | Locale based on Home assistant language | -| title | `string` | Card title | Doesn't display a title by default | | +| Name | Accepted values | Description | Default | +|---------------|----------------------|--------------------------------------|-----------------------------------------------------| +| darkMode | `boolean` | Changes card colors to dark or light | Home assistant dark mode state | +| language | `string`1 | Changes card language | Home assistant language or english if not supported | +| showAzimuth | `boolean` | Displays azimuth in the footer | `false` | +| showElevation | `boolean` | Displays elevation in the footer | `false` | +| timeFormat | `'12h'`/`'24h'` | Displayed time format | Locale based on Home assistant language | +| title | `string` | Card title | Doesn't display a title by default | | + +(1) Supported languages: `de`, `en`, `es`, `fi`, `fr`, `hu`, `it`, `nl`, `pt-BR` ## Known issues - Home assistant seems to provide next events instead today's one