mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-08-28 16:57:02 +00:00
micor changes and clean up.
This commit is contained in:
@@ -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' }}"
|
||||
|
Reference in New Issue
Block a user