Compare commits
2 Commits
21b21c8800
...
311f6f5039
Author | SHA1 | Date |
---|---|---|
CCOSTAN | 311f6f5039 | |
CCOSTAN | e819d6f6c6 |
|
@ -1 +1 @@
|
|||
2024.5.1
|
||||
2024.5.4
|
|
@ -16,9 +16,10 @@ input_boolean:
|
|||
initial: off
|
||||
#-------------------------------------------
|
||||
mqtt:
|
||||
binary_sensor:
|
||||
- state_topic: "polly/lastmsg"
|
||||
name: "Last Message"
|
||||
sensor:
|
||||
- state_topic: "polly/lastmsg"
|
||||
name: "Last Message"
|
||||
|
||||
##############################################################################
|
||||
### Automations -
|
||||
##############################################################################
|
||||
|
|
|
@ -55,21 +55,29 @@ speech_processing:
|
|||
{% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %}
|
||||
0.3
|
||||
{% elif now().strftime('%H')|int > 12 and now().strftime('%H')|int < 20 %}
|
||||
0.5
|
||||
0.3
|
||||
{% else %}
|
||||
0.3
|
||||
{% endif %}
|
||||
|
||||
# - service: tts.amazon_polly_say
|
||||
# data:
|
||||
# entity_id: media_player.livingroomCC
|
||||
# message: >-
|
||||
# <speak>
|
||||
# <amazon:auto-breaths>
|
||||
# {{ speech_message }}
|
||||
# </amazon:auto-breaths>
|
||||
# </speak>
|
||||
# cache: true
|
||||
|
||||
- service: tts.amazon_polly_say
|
||||
- service: tts.cloud_say
|
||||
data:
|
||||
entity_id: media_player.livingroomCC
|
||||
options:
|
||||
voice: JennyNeural
|
||||
message: >-
|
||||
<speak>
|
||||
<amazon:auto-breaths>
|
||||
{{ speech_message }}
|
||||
</amazon:auto-breaths>
|
||||
</speak>
|
||||
{{ speech_message }}
|
||||
cache: true
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
###################################################
|
||||
|
||||
mqtt:
|
||||
binary_sensor:
|
||||
- state_topic: "dash/medicine/medicine_time"
|
||||
name: "Medicine time"
|
||||
sensor:
|
||||
- state_topic: "dash/medicine/medicine_time"
|
||||
name: "Medicine time"
|
||||
device_class: "timestamp"
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue