Fix lights so Alexa doesn't get confused.

This commit is contained in:
CCOSTAN
2016-10-22 15:48:23 +00:00
parent 01768d0ef1
commit 0d1ee35bdd
6 changed files with 42 additions and 26 deletions

View File

@@ -1,4 +1,15 @@
- alias: turn_it_off_after_10m
trigger:
- platform: state
entity_id: light.bedroom
state: 'on'
for: '00:10:00'
condition:
...
action:
- service: light.turn_off
data_template:
entity_id: "{{ trigger.entity_id }}"
- alias: 'Get Random Time'