mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add content from source
This commit is contained in:
parent
9d04e93560
commit
e771237a48
@ -35,6 +35,18 @@ Configuration variables:
|
||||
|
||||
### {% linkable_title Implementation Details %}
|
||||
|
||||
The suns event listener will call the service when the sun rises or sets with an offset.
|
||||
|
||||
The sun event need to have the type 'sun', which service to call, which event (sunset or sunrise) and the offset.
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "sun",
|
||||
"service": "switch.turn_on",
|
||||
"event": "sunset",
|
||||
"offset": "-01:00:00"
|
||||
}
|
||||
```
|
||||
|
||||
#### {% linkable_title Maintains entity `sun.sun` %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user