Random playback stop working

Good morning! Until some time ago I had an automation that by pressing a button played me a playlist randomly… but now it plays the chosen playlist but always starts from the same song and goes in order. Can anyone tell me what’s wrong or what has changed in HomeAssistant that no longer allows me this action?

This is my automation:

alias: Bagno Button 6 Metal
description: ""
triggers:
  - device_id: 6305c95c9d5cb2c8a292d61a6d233033
    domain: zha
    type: remote_button_alt_short_press
    subtype: button_6
    trigger: device
conditions: []
actions:
  - target:
      device_id: 3248d2a78e024d4768b6393ce43e931a
    data:
      volume_level: 0.55
    action: media_player.volume_set
  - target:
      entity_id: media_player.bagno
    data:
      media_content_id: library://playlist/14
      media_content_type: playlist
    metadata:
      title: Heavy Metal
      thumbnail: null
      media_class: playlist
      children_media_class: track
      navigateIds:
        - {}
        - media_content_type: music_assistant
          media_content_id: playlists
        - media_content_type: music
          media_content_id: library://playlist/14
    action: media_player.play_media
  - target:
      device_id: bf7a1420c6115856e614602ed5cdc3e1
    data:
      shuffle: true
    action: media_player.shuffle_set

I set: media_player.shuffle_set but it doesn’t seem to work as before

Thanks

solved…

solved… I don’t know why the “Shuffle” action in YAML reported “False” and not “True”. But it was only possible to see it in YAML mode.