Updates to random delays. Making them even more random of course! :)

This commit is contained in:
ccostan
2018-06-14 15:33:39 -04:00
parent 1e6368798a
commit 87b0fa3adf
8 changed files with 16 additions and 21 deletions

View File

@@ -35,7 +35,7 @@ front_house_motion:
- group.outdoor_pool_lights
brightness: 255
- service: script.dog_bark
- delay: '00:{{ (range(5, 20)|random|int) }}:00'
- delay: '00:{{ range(0,1) | random | int }}{{ range(0,9) | random | int }}:00'
- service: light.turn_off
entity_id:
- group.outdoor_front_lights