mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Fix lights so Alexa doesn't get confused.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user