-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add moon phase, add info.md for HACS, update screenshot
- Loading branch information
Showing
7 changed files
with
80 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Sun Card | ||
|
||
Home Assistant Lovelace card to present `sun.sun` entity. Requires `sensor.time_utc` sensor from `date_time` component as well to work properly. | ||
It provides visual information about current sun elevation throughout the day, time of sunrise/sunset. Available data depends on used Sun component: pre-existing one from Home Assistant (Basic), extended available [here](https://github.com/pnbruckner/homeassistant-config/blob/master/docs/sun.md) (Extended) or leverage Sun2 extension available [here](https://github.com/pnbruckner/ha-sun2). Additionally it can depict current moon phase. | ||
|
||
## Capabilities | ||
|
||
| Used Sun component | Current sun elevation | Sunrise | Sunset | Noon | Daylight duration | Time to sunset | | ||
| ------------------ | --------------------- | ----------- | ----------- | ---- | ----------------- | -------------- | | ||
| Basic | yes | Only future | Only future | no | no | yes | | ||
| Extended | yes | yes | yes | no | yes | yes | | ||
| Sun2 | yes | yes | yes | yes | yes | yes | | ||
|
||
> You have to have mentioned `monitored_conditions` enabled in component: | ||
> * for `Extended sun` component: `elevation`, `max_elevation`, `daylight`, `sunrise`, `sunset` | ||
> * for `Sun2` component: `sunrise`, `sunset`, `solar_noon`, `max_elevation`, `daylight` | ||
The card depicts current moon phase if you have `sensor.moon` available in your _configuration.yaml_. | ||
|
||
## Options | ||
|
||
| Name | Type | Requirement | Default value | Description | | ||
| -------- | ------- | ------------ | ----------------- | -------------------------------------------------------- | | ||
| type | string | **Required** | `custom:sun-card` | Type of card, non-modifiable | | ||
| name | string | **Optional** | Language specific | Card name visible in header, no header when empty value | | ||
| meridiem | boolean | **Optional** | Language specific | Clock format: 12h or 24h | | ||
|
||
## Example | ||
|
||
<img src="https://raw.githubusercontent.com/mishaaq/sun-card/master/images/showcase.png" width="450px"/> | ||
|
||
## Additional info | ||
|
||
Check out the README file in repository for templating possibilities. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters