Added more Voice! Removed some redundant IFTTT triggers.

This commit is contained in:
CCOSTAN
2017-02-04 02:11:01 +00:00
parent 79c584f5ed
commit 5950e7f352
9 changed files with 31 additions and 219 deletions

View File

@@ -13,11 +13,31 @@
- device_tracker.franco
- device_tracker.yolanda
- device_tracker.joyce_ipad
from: 'home'
to: 'not_home'
for: '00:03:00'
- platform: state
entity_id:
- device_tracker.carlo
- device_tracker.stacey
- device_tracker.franco
- device_tracker.yolanda
- device_tracker.joyce_ipad
from: 'not_home'
to: 'home'
for: '00:03:00'
- platform: state
entity_id:
- cover.garadget_large
- cover.garadget_small
from: 'closed'
to: 'open'
for: '00:03:00'
action:
- service: script.Voice_notify
data_template:
message: "Attention. {{ trigger.entity_id.split('.')[1].lower().replace('_ipad', '').title() }} is now {{ trigger.to_state.state }}"
message: "Attention. {{ trigger.entity_id.split('.')[1].lower().title() }} is now {{ trigger.to_state.state }}"
cache: true