All but 2 Media players can't play local files (incl tts announcements)

Hi All,

Having an issue that’s been wrecking my head over the last few days. All of the sudden I am having an issue that my tts announcements stopped working on all but two media players in my house.

I have 4 Sonos one players and 6 AirPort Express. I had set up announcement cards that call a script that uses Chime TTS and Google translate tts for making announcements in the house. The set up was completely working on all players 3 days ago. We left the house for two days and when I came back the announcement scripts are only working on two players which are both Sonos.

The players in the scripts and cards below are verified and checked as working players in HA. I can play Radio browser and Music assistant from them. I can also control the players from other sources outside HA, like from my phone.

Also all helpers and scripts are verified and present as they should be. Script for working and not working player is exacly the same except for player and helper names.

I already put back a back up from Friday to no avail.

Also tried a completely new HA install in a new VM with my back up with no result.

I reloaded and also deleted and re- added the Sonos and Apple TV integrations with no result.

The one thing I noticed is that the two working players are able to play a local file when I select one manual from ‘browse media’ in the device. The other players do not play these files when I select them manual. Their players remain at ‘Paused’ state.

So the working player play TTS and local files and external media such as Spotify and radio browser.

The non working players only play external media such as Spotify and radio browser.

Below is the Card and script YAML of the working player:

Card:

type: entities
entities:
  - type: custom:mini-media-player
    entity: media_player.bijhuis
    name: Kantoor Bijhuis
    group: true
    source: icon
    info: short
    hide:
      power: true
      controls: true
  - entity: input_text.tts_message_bijhuis
    name: TTS Bericht
  - type: button
    name: Speel aangepast bericht
    icon: mdi:speaker
    tap_action:
      action: call-service
      service: script.turn_on
      target:
        entity_id: script.chime_tts_bijhuis
  - type: button
    name: Wakker worden
    icon: mdi:weather-sunset-up
    tap_action:
      action: call-service
      service: script.turn_on
      data:
        variables:
          fixed_message: Wakker worden
      target:
        entity_id: script.chime_tts_bijhuis
  - type: button
    name: Etenstijd
    icon: mdi:food
    tap_action:
      action: call-service
      service: script.turn_on
      data:
        variables:
          fixed_message: Etenstijd
      target:
        entity_id: script.chime_tts_bijhuis

Script:

alias: Chime TTS Bijhuis
sequence:
  - variables:
      final_message: >-
        {{ fixed_message if fixed_message is defined else
        states('input_text.tts_message_bijhuis') }}
  - action: chime_tts.say
    data:
      tts_platform: google_translate
      message: "{{ final_message }}"
      chime_path: bright
      language: nl
      announce: true
      volume_level: 0.5
    target:
      entity_id: media_player.bijhuis

Non working player:
Card:

type: entities
entities:
  - type: custom:mini-media-player
    entity: media_player.keuken
    name: Keuken
    group: true
    source: icon
    info: short
    hide:
      power: true
      controls: true
  - entity: input_text.tts_message_keuken
    name: TTS Bericht
  - type: button
    name: Speel aangepast bericht
    icon: mdi:speaker
    tap_action:
      action: call-service
      service: script.turn_on
      target:
        entity_id: script.chime_tts_keuken
  - type: button
    name: Wakker worden
    icon: mdi:weather-sunset-up
    tap_action:
      action: call-service
      service: script.turn_on
      data:
        variables:
          fixed_message: Wakker worden
      target:
        entity_id: script.chime_tts_keuken
  - type: button
    name: Etenstijd
    icon: mdi:food
    tap_action:
      action: call-service
      service: script.turn_on
      data:
        variables:
          fixed_message: Etenstijd
      target:
        entity_id: script.chime_tts_keuken

Script:

alias: Chime TTS Keuken
sequence:
  - variables:
      final_message: >-
        {{ fixed_message if fixed_message is defined else
        states('input_text.tts_message_keuken') }}
  - action: chime_tts.say
    data:
      tts_platform: google_translate
      message: "{{ final_message }}"
      chime_path: bright
      language: nl
      announce: true
      volume_level: 0.5
    target:
      entity_id: media_player.keuken
description: ""

I hope someone can help me, I had my announcements working so well with Chime and now it’s broken. Thx in advance! And sorry for the long story.

Please anyone?