micor changes and clean up.

This commit is contained in:
Mahasri Kalavala
2019-12-20 10:32:28 -05:00
parent a3c869e9e8
commit 87961b393c
45 changed files with 1628 additions and 1728 deletions

View File

@@ -16,19 +16,19 @@ input_number:
initial: 0.3
min: 0
max: 1
step: 0.1
step: 0.1
tts_volume_level_afternoon:
name: Afternoon TTS Volume
initial: 0.5
min: 0
max: 1
step: 0.1
step: 0.1
tts_volume_level_evening:
name: Evening TTS Volume
initial: 0.3
min: 0
max: 1
step: 0.1
step: 0.1
tts_volume_level_alert:
name: TTS Volume Alert Mode
initial: 1
@@ -37,10 +37,9 @@ input_number:
step: 0.1
automation:
###############################################################################
# The text entered in the text box will be announced in the house
###############################################################################
###############################################################################
# The text entered in the text box will be announced in the house
###############################################################################
- alias: Text Changed Event
initial_state: true
trigger:
@@ -50,4 +49,4 @@ automation:
- service: script.voice_notify
data_template:
message: "{{ trigger.to_state.state }}"
greeting: "{{ 'yes' if states.input_boolean.greeting.state == 'on' else 'no' }}"
greeting: "{{ 'yes' if states('input_boolean.greeting') == 'on' else 'no' }}"