TTS Percent Twenty

Greetings,

I finally got TTS working. However, Everytime there is a space my media_player, Google home, says “percent twenty”.

Anybody know how to fix this?

same for me with the last release 0.113.2

Yep, just started doing that with 0.113.2 - All my announcements are a mess

Following.

I put a dash between the words as a temporary fix.

“Welcome-home”

1 Like

It has been fixed in 0.113.3.

1 Like

Seems it’s back in 0.114.4 but only with the latest Supervisor I feel? Been rocking 0.114.4 for >2 weeks but in the last 48hrs, the 20 percent is back and the only change is the recent frequent supervisor updates now on 242.

EDIT 23rd Sept 20: I found my problem which crept in somewhere recent that seems to be related to the entity_id: change. The code below reads out the text with the 20 percent error and it’s the only TTS announcement that does and I have lots.

  - alias: 'Notify front door battery low'
    initial_state: true
    trigger:
      platform: numeric_state
      entity_id: zwave.frontdoor_deadbolt
      value_template: '{{ state_attr("zwave.frontdoor_deadbolt", "battery_level") | int(100) }}'
      below: 80
    condition:
      condition: and
      conditions:
        - condition: state
          entity_id: alarm_control_panel.home_alarm
          state: 'disarmed'
        - condition: time
          after: '08:00:00'
          before: '21:00:00'
    action:
      - service: notify.hass_synochat
        data:
          message: "Deatbolt battery is below 80%"
      - service: script.ghm_tts ## Calls the Google Home app group called media_player.tts_homes
        data_template:
          tts: "Bummer. The batteries in the door lock went below 80 percent"
          volume: 0.5

I changed the value template to "{{ state.attributes.battery }}" and the problem disappeared but I suppose I could have removed the entity_id: field instead?

I’m on 0.114.4, but only the Home Assistant Core in a Docker container, which works fine. Just wanted to mention that.