mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
More Voice Friendly stuff. Changing names around and things like that!
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user