mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Updated doc
This commit is contained in:
parent
397aac21a7
commit
7a62fa9e71
@ -50,10 +50,6 @@ time_seconds=0
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<p class='note warning'>
|
|
||||||
Home Assistant checks your time filters every 3 seconds. That means that the value of seconds will only be 0, 3, 6, 9…60. Setting up a filter for `time_seconds=10` will never fire!
|
|
||||||
</p>
|
|
||||||
|
|
||||||
#### State-based automation
|
#### State-based automation
|
||||||
This allows you to trigger actions based on state changes of any entity within Home Assistant. You can omit the `state_from` and `state_to` to match all.
|
This allows you to trigger actions based on state changes of any entity within Home Assistant. You can omit the `state_from` and `state_to` to match all.
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@ To set it up, add the following lines to your `home-assistant.conf`:
|
|||||||
[homeassistant]
|
[homeassistant]
|
||||||
latitude=32.87336
|
latitude=32.87336
|
||||||
longitude=-117.22743
|
longitude=-117.22743
|
||||||
|
|
||||||
|
[sun]
|
||||||
```
|
```
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user