It didn't like getting the volume values from an input_number

This commit is contained in:
2022-04-18 19:54:03 -04:00
parent c1e31a04c1
commit 00b0b68cb7

View File

@ -566,13 +566,9 @@ script:
{% endif %}
volume_level: >
{% if states.input_boolean.audible_notifications.state == 'on' %}
{% if who == 'kallen_bedroom_speaker' %}
{{ states('input_number.tts_volume') | float }}
.7
{% else %}
{{ states('input_number.tts_volume') | float }}
{% endif %}
{% else %}
{{ states('input_number.tts_low_volume') | float }}
.3
{% endif %}
- service: tts.amazon_polly_say
data_template: