Skip to content

Fix rendering problems on Music Assistant page #38674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions source/_integrations/music_assistant.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,8 @@ script:
order_by: random
response_variable: random_tracks
- action: music_assistant.play_media
data:
{% raw %}
media_id: "{{ random_tracks['items'] | map(attribute='uri') | list }}"
{% endraw %}
data:
media_id: {% raw %}"{{ random_tracks['items'] | map(attribute='uri') | list }}" {% endraw %}
media_type: track
enqueue: replace
target:
Expand Down Expand Up @@ -255,8 +253,8 @@ script:
response_variable: queue_info
- service: input_text.set_value
data:
entity_id: input_text.now_playing
value: "{{ queue_info['media_player.ma_kitchen_speaker'].current_item.name }}"
entity_id: input_text.now_playing
value: {% raw %}"{{ queue_info['media_player.ma_kitchen_speaker'].current_item.name }}" {% endraw %}
```

## Notes
Expand Down