#MediaPlayerState.STANDBY was used from universal

1 messages · Page 1 of 1 (latest)

dry bobcat
#

Hi,
Since a couple of months, i have the following message in my log:
The deprecated enum member MediaPlayerState.STANDBY was used from universal. It will be removed in HA....
i'm using the following config:

media_player:
  - platform: universal
    name: Audio Notification
    unique_id : audio_notification
    children:
          - media_player.esp32_s3_media_player

How can i fix this error ?
Thx

#

I'm using it with:

              - data:
                  message: " {{ msg_text }} "
                  language: fr_FR
                  options:
                    voice: fr_FR-siwis-medium
                  cache: false
                  media_player_entity_id: "{{ mediaplayer }}"
                target:
                  entity_id: tts.piper
                action: tts.speak

and also

              - target:
                  entity_id: "{{ mediaplayer }}"
                data:
                  enqueue: add
                  media:
                    media_content_id: "{{ filename }}"
                    media_content_type: audio/mpeg
                    metadata: {}
                action: media_player.play_media