minor updates.

This commit is contained in:
Mahasri Kalavala
2019-05-14 19:32:32 -04:00
parent cb50a7229d
commit 1d01811938
6 changed files with 99 additions and 45 deletions

View File

@@ -402,7 +402,7 @@ automation:
action:
- service: script.notify_me
data_template:
message: "{{ trigger.to_state.attributes.friendly_name }}'s phone battery is less than: {{ trigger.to_state.attributes.battery }}%."
message: "{{ trigger.to_state.attributes.friendly_name | title }}'s phone battery is less than: {{ trigger.to_state.attributes.battery }}%."
- service: script.voice_notify
data_template:
message: "{{ trigger.to_state.attributes.friendly_name }}'s phone battery is less than: {{ trigger.to_state.attributes.battery }}%."