mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +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 %}
|
### {% 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` %}
|
#### {% linkable_title Maintains entity `sun.sun` %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user