Time condition can also accept an input_datetime Entity ID (#14404)

This commit is contained in:
Franck Nijhof 2020-09-06 16:44:56 +02:00 committed by GitHub
parent b1ab3752b7
commit 2ecb085eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,6 +350,15 @@ A better weekday condition could be by using the [Workday Binary Sensor](/integr
</div>
For the `after` and `before` options a time helper (`input_datetime` entity) can be used instead.
```yaml
condition:
condition: time
after: input_datetime.house_silent_hours_start
before: input_datetime.house_silent_hours_end
```
### Zone condition
Zone conditions test if an entity is in a certain zone. For zone automation to work, you need to have set up a device tracker platform that supports reporting GPS coordinates.