More Voice Friendly stuff. Changing names around and things like that!

This commit is contained in:
CCOSTAN
2017-02-04 02:46:44 +00:00
parent b956a37402
commit b8b1aa5bca
7 changed files with 149 additions and 57 deletions

View File

@@ -2,9 +2,8 @@
## Announce when people come or go.
## Announce over all Chromecast Audios
######################################################################
- alias: 'Announcements'
- alias: 'State Announcements'
hide_entity: True
trigger:
- platform: state
entity_id:

View File

@@ -34,10 +34,10 @@
- service: script.ifttt_notify
data_template:
value1: 'Device Status:'
value2: "{{ trigger.entity_id.split('.')[1] }} is "
value2: "{{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is "
value3: "{{ trigger.to_state.state }}"
- service: script.Voice_notify
data_template:
value1: "{{ trigger.entity_id.split('.')[1] }} is now {{ trigger.to_state.state }}"
value1: "{{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ trigger.to_state.state }}"