1- # Homeassistant sun card
2- Home assistant sun card based on Google weather design
1+ # Home assistant Sun card
2+ Home assistant Sun card based on Google weather design
33
44## Preview
55![ image] ( https://user-images.githubusercontent.com/6829526/118412152-54d93900-b690-11eb-8b2b-e87b4cbcca7f.png )
66![ image] ( https://user-images.githubusercontent.com/6829526/118412162-64f11880-b690-11eb-9bd7-b8c6c7d8efd8.png )
77
88## Install
99### HACS
10- 1 . Go to ` HACS > Frontend ` and click on settings (3 dots in the top right corner) and click on custom repositories.
11- 1 . Add ` https://github.com/AitorDB/home-assistant-sun-card ` as URL and choose Lovelace as category.
10+ Home assistant Sun card is available by default on HACS directory. More info [ here] ( https://hacs.xyz/ ) .
1211
1312### Manually
14131 . 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
2019Note: If ` Custom: Sun card ` doesn't appear you will have to reload cleaning the cache.
2120
2221## Config
23- | Name | Accepted values | Description | Default |
24- | ---------------| -----------------| --------------------------------------| -----------------------------------------------------|
25- | darkMode | ` boolean ` | Changes card colors to dark or light | Home assistant dark mode state |
26- | language | ` 'es' ` /` 'en' ` | Changes card language | Home assistant language or english if not supported |
27- | showAzimuth | ` boolean ` | Displays azimuth in the footer | ` false ` |
28- | showElevation | ` boolean ` | Displays elevation in the footer | ` false ` |
29- | timeFormat | ` '12h' ` /` '24h' ` | Displayed time format | Locale based on Home assistant language |
30- | title | ` string ` | Card title | Doesn't display a title by default | |
22+ | Name | Accepted values | Description | Default |
23+ | ---------------| ----------------------| --------------------------------------| -----------------------------------------------------|
24+ | darkMode | ` boolean ` | Changes card colors to dark or light | Home assistant dark mode state |
25+ | language | ` string ` <sup >1</sup > | Changes card language | Home assistant language or english if not supported |
26+ | showAzimuth | ` boolean ` | Displays azimuth in the footer | ` false ` |
27+ | showElevation | ` boolean ` | Displays elevation in the footer | ` false ` |
28+ | timeFormat | ` '12h' ` /` '24h' ` | Displayed time format | Locale based on Home assistant language |
29+ | title | ` string ` | Card title | Doesn't display a title by default | |
30+
31+ (<sup >1</sup >) Supported languages: ` de ` , ` en ` , ` es ` , ` fi ` , ` fr ` , ` hu ` , ` it ` , ` nl ` , ` pt-BR `
3132
3233## Known issues
3334- Home assistant seems to provide next events instead today's one
0 commit comments