Skip to content

Commit 6c0364e

Browse files
committed
Release 5.6.0
1 parent 3e947bc commit 6c0364e

22 files changed

Lines changed: 7714 additions & 506 deletions

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Changelog
22

3+
## 5.6.0 - 2026-05-20
4+
5+
Release focus: Flow Assistant voice commands, richer library browsing, radio artwork reliability, cleaner tablet/saver controls, and a full bug-fix rollup from the local 5.5.1 test cycle.
6+
7+
Highlights:
8+
9+
- Adds the experimental **Flow Assistant** voice command layer. It can be opened from the player, the empty-state music screen, and the screensaver. Voice commands are still experimental; failed examples, browser/device details, and community feedback are welcome so the matching can keep improving.
10+
- Renames the voice dialog from `Voice assistant` to **Flow Assistant** and adds HOMEii Flow branding inside the assistant panel.
11+
- Adds elegant microphone entry points in the empty-state player and screensaver, with better click feedback and guards against repeated delayed actions.
12+
- Keeps the screensaver active while Flow Assistant is open, so touching the assistant dialog does not leave the idle display. The screensaver exits only when the user taps the empty background area.
13+
- Adds optional previous/next controls to the screensaver when screensaver media controls are enabled.
14+
- Adds library drill-in for playlists and albums: tapping an item can open its track list first, while a small `Play` button starts the whole item directly.
15+
- Adds clearer tap feedback to library and recommendation content, including subtle loading feedback while playback starts.
16+
- Adds `Clear all` as a selectable Quick Action with a red-toned icon and a small confirmation popup that explains it disconnects all active players before running.
17+
- Improves media control states so shuffle, repeat-one, and repeat-all are visually clearer when active.
18+
- Improves the empty-state wand area with calmer animation, spacing, and visual feedback.
19+
- Bundles Simplified Chinese localization. Thank you to [@gao19970120](https://github.com/gao19970120) for the Chinese translation contribution.
20+
21+
Bug fixes:
22+
23+
- Fixes `_getAllocatedCardHeight` shrinking the card when Home Assistant reported a positive `getBoundingClientRect().top` during initial layout. The card now avoids losing height just because it is rendered lower on the page.
24+
- Restores cleaner card fit after the height fix so the player does not create unnecessary page scrolling on normal tablet/desktop dashboards.
25+
- Fixes rounded-corner leaks by clipping the host/card surface consistently and keeping internal layers aligned to the same radius treatment.
26+
- Fixes radio playback cover art in the normal player. Radio stations that expose live `entity_picture` artwork now show that dynamic artwork in the main player, not only in the screensaver.
27+
- Fixes the broken/empty radio cover slot by using safer artwork fallbacks and HOMEii branding when a station image cannot be loaded.
28+
- Fixes radio layout spacing so the radio artwork, microphone action, metadata, and side actions no longer crowd or float in awkward positions on wide tablet views.
29+
- Avoids false radio handling for normal songs or playlists that merely contain the word `radio` in their title or URI.
30+
- Expands the radio country selector in the visual editor and in-card settings so users can choose from the full country list instead of a small sample list.
31+
- Fixes visual-editor labels in the Flow Assistant section so they use readable text instead of underscore-style internal keys.
32+
- Fixes visual-editor labels for assistant icon sizing and related controls.
33+
- Renames the Quick Actions assistant option to **Flow Assistant** so it matches the user-facing feature name.
34+
- Fixes repeat button ambiguity by distinguishing repeat-one from repeat-all in the active UI state.
35+
- Fixes empty-player controls that sometimes required multiple taps before opening a panel or starting an action.
36+
- Prevents stacked delayed actions from repeated taps on the empty-state wand/microphone area.
37+
- Restores reliable Hebrew Flow Assistant matching for commands such as playing a song by artist and playing a playlist by artist/name after the local matching regression.
38+
- Adds regression coverage for Flow Assistant command matching so common Hebrew play requests do not silently break again.
39+
- Improves assistant failure handling so unsupported speech-service/browser failures are surfaced cleanly instead of looking like a successful command with an unrelated response.
40+
- Fixes the screensaver Flow Assistant button so it opens the assistant without changing the clean screensaver layout or forcing an unwanted exit.
41+
- Fixes library/recommendation click behavior so feedback appears immediately while Music Assistant starts playback.
42+
- Tightens radio and missing-artwork fallback behavior across player and screensaver surfaces so both views resolve artwork from the same safer priority chain.
43+
- Updates localization tests to include the new Simplified Chinese dictionary and language option.
44+
- Updates release packaging so `src/localization/zh.js` is synced into `dist/localization/zh.js`.
45+
346
## 5.5.0 - 2026-05-17
447

548
Released update from 5.4.2.

HOW_TO_ADD_A_LANGUAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# How To Add A Language
22

3-
HOMEii Music Flow uses flat JavaScript dictionaries in `src/localization/`. English is the fallback language, so every new language file should start by copying the English keys. Version 5.5.0 ships with English and Hebrew only.
3+
HOMEii Music Flow uses flat JavaScript dictionaries in `src/localization/`. English is the fallback language, so every new language file should start by copying the English keys. Version 5.6.0 ships with English, Hebrew, and Simplified Chinese.
44

55
## Steps
66

LOCAL_DEPLOYMENT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Use only this runtime package folder in Home Assistant `www`:
1212

1313
Use only this Lovelace resource pattern:
1414

15-
`/local/community/homeii-music-flow/homeii-music-flow.js?v=5.5.0`
15+
`/local/community/homeii-music-flow/homeii-music-flow.js?v=5.6.0`
1616

1717
From now on, bump only the query version after `?v=`.
1818
Do not change the file name again unless there is a hard cache emergency.
@@ -29,14 +29,14 @@ Stable deploy target:
2929

3030
`dist/` should always be the latest approved install package.
3131

32-
## Current 5.5.0 Mapping
32+
## Current 5.6.0 Mapping
3333

3434
- Edit: `src/homeii-music-flow.js`
3535
- Review/share: `dist/`
3636
- Deploy to HA `www`: copy the full contents of `dist/` into `www/community/homeii-music-flow/`
3737
- Package includes: `homeii-music-flow.js`, `localization/`, `sendspin-js/`, `vendor/embla-carousel.umd.js`, `homeii-flow-logo.svg`
3838
- Lovelace type: `custom:homeii-music-flow`
39-
- Lovelace resource: `/local/community/homeii-music-flow/homeii-music-flow.js?v=5.5.0`
39+
- Lovelace resource: `/local/community/homeii-music-flow/homeii-music-flow.js?v=5.6.0`
4040

4141
## Cache Reset Rule
4242

@@ -48,7 +48,7 @@ If a new version is approved:
4848

4949
Example:
5050

51-
`/local/community/homeii-music-flow/homeii-music-flow.js?v=5.5.0`
51+
`/local/community/homeii-music-flow/homeii-music-flow.js?v=5.6.0`
5252

5353
## Foundation Note
5454

PUBLISHING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
- the HACS My Home Assistant button
2525
- the HACS download/install button
2626

27-
## 2. Create the 5.5.0 release
27+
## 2. Create the 5.6.0 release
2828

29-
- Create a Git tag named `v5.5.0`.
29+
- Create a Git tag named `v5.6.0`.
3030
- Create a GitHub release from that tag.
31-
- Title the release `5.5.0`.
32-
- Use the `5.5.0` section from `CHANGELOG.md` as the release notes.
31+
- Title the release `5.6.0`.
32+
- Use the `5.6.0` section from `CHANGELOG.md` as the release notes.
3333
- Do not attach a custom release zip asset for HACS. Keep the complete installable runtime in `dist/` and let HACS use the normal repository release/tag contents.
3434

3535
## 3. Verify repository files after publishing
3636

3737
- Confirm `hacs.json` still points to `homeii-music-flow.js`.
3838
- Confirm `dist/homeii-music-flow.js` matches the released runtime.
39-
- Confirm `dist/localization/` includes English and Hebrew dictionaries only.
39+
- Confirm `dist/localization/` includes English, Hebrew, and Simplified Chinese dictionaries.
4040
- Confirm `dist/sendspin-js/` exists for the local Sendspin browser player.
4141
- Confirm `dist/vendor/embla-carousel.umd.js` exists for mobile swipe support.
4242
- Confirm `dist/homeii-flow-logo.svg` and `docs/brand/homeii-flow-logo.svg` exist.
@@ -81,7 +81,7 @@ to:
8181

8282
Then load:
8383

84-
`/local/community/homeii-music-flow/homeii-music-flow.js?v=5.5.0`
84+
`/local/community/homeii-music-flow/homeii-music-flow.js?v=5.6.0`
8585

8686
## 7. Final pre-release smoke test
8787

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</p>
2727

2828
<p align="center">
29-
<a href="https://github.com/r11a/homeii-music-flow"><img alt="version" src="https://img.shields.io/badge/version-5.5.0-gold"></a>
29+
<a href="https://github.com/r11a/homeii-music-flow"><img alt="version" src="https://img.shields.io/badge/version-5.6.0-gold"></a>
3030
<img alt="Home Assistant" src="https://img.shields.io/badge/Home%20Assistant-Dashboard-41BDF5">
3131
<img alt="Music Assistant" src="https://img.shields.io/badge/Music%20Assistant-required-7C5CFF">
3232
<img alt="Sendspin" src="https://img.shields.io/badge/Sendspin-browser%20player-18B6FF">
@@ -47,13 +47,27 @@ HOMEii Flow started from my own daily use of Home Assistant and Music Assistant.
4747
- **Sendspin browser player built in:** turn the current browser, phone, tablet, or wall panel into a Music Assistant playback target directly from the card, with a session that survives Dashboard page changes while the dashboard stays open.
4848
- **Premium now-playing experience:** artwork-led layout, dynamic atmosphere, elegant controls, full-screen lyrics, and responsive visual polish.
4949
- **FLOW guided music wizard:** a simple step-by-step music flow for choosing players, picking a mood or existing content, reviewing visual results, and starting playback without learning the full Music Assistant UI.
50+
- **Experimental Flow Assistant:** optional voice commands can launch music from the player, empty state, and screensaver. This is intentionally marked experimental, and community feedback is welcome so it can become sharper and more reliable.
5051
- **Studio / Control Room:** choose players, group rooms, control volumes, move playback, and manage multi-room listening.
5152
- **Mobile-first workflow:** queue, search, library, FLOW, actions, timers, announcements, settings, and player switching are designed for touch.
52-
- **Real Music Assistant library flow:** playlists, albums, artists, tracks, radio, favorites, recent listening, and recommendations.
53+
- **Real Music Assistant library flow:** playlists, albums, artists, tracks, radio, favorites, recent listening, recommendations, and album/playlist drill-in before playback.
5354
- **Smart-home aware listening:** optional Home Assistant light sync, screensaver display, and POWER actions let the card participate in the room without becoming mandatory setup.
54-
- **Hebrew and RTL ready:** layout, labels, alignment, and interaction patterns are built for Hebrew as a first-class use case.
55+
- **International and RTL ready:** English, Hebrew/RTL, and Simplified Chinese are bundled, with the same localization path available for future community translations.
5556
- **Release-ready package:** HACS-ready `dist/` output includes the card, Sendspin files, Embla swipe support, and the brand asset.
5657

58+
## What's New In 5.6.0
59+
60+
- **Flow Assistant arrives as an experimental voice layer:** open it from the player, the empty-state music screen, or the screensaver, then ask for music in natural language. This is still experimental; feedback, failed examples, and language/device reports are especially helpful for improving it.
61+
- **Library browsing is less accidental:** playlists and albums can open into their track list before playback, with a compact `Play` button when you want to start the full item immediately.
62+
- **Touch feedback is clearer across the music surface:** library content, recommendations, the empty-state wand, and quick actions now respond with stronger visual feedback so taps feel immediate instead of uncertain.
63+
- **Screensaver controls stay elegant:** the screensaver can show subtle voice, previous, and next controls when enabled, while keeping the clean idle look and avoiding accidental exits during Flow Assistant interaction.
64+
- **Radio artwork is fixed in normal playback:** radio stations that expose dynamic `entity_picture` artwork now show that cover in the main player too, not only in the screensaver, with safer fallback branding when station art is missing.
65+
- **Radio layout has been tightened:** radio playback no longer depends on broken station image URLs, and titles/artwork are arranged more cleanly across large tablet views.
66+
- **Quick Actions adds `Clear all`:** a red-toned disconnect action can be enabled from the visual editor and uses a confirmation popup before disconnecting all active players.
67+
- **Shuffle and repeat states are easier to read:** repeat-one, repeat-all, and shuffle now have clearer active styling so the current mode is not a guessing game.
68+
- **Visual editor wording is cleaner:** Flow Assistant, icon sizing, quick actions, and related settings now use friendly labels instead of internal underscore-style names.
69+
- **Simplified Chinese localization is now bundled:** thank you to [@gao19970120](https://github.com/gao19970120) for contributing the Chinese translation.
70+
5771
## What's New In 5.5.0
5872

5973
- **Commercial-grade responsive fit:** the card now measures its actual dashboard/container size, reacts to Home Assistant grid/sidebar/editor changes, and adapts by width, height, and aspect ratio instead of relying only on the browser viewport.
@@ -190,7 +204,7 @@ If HACS does not add the resource automatically, add:
190204
3. Add this Dashboard resource:
191205

192206
```text
193-
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.5.0
207+
/local/community/homeii-music-flow/homeii-music-flow.js?v=5.6.0
194208
```
195209

196210
4. Add the card:
@@ -867,7 +881,7 @@ npm run lint
867881
npm test
868882
```
869883

870-
Current packaged version: `5.5.0`
884+
Current packaged version: `5.6.0`
871885

872886
## Release Readiness
873887

TRANSLATING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This glossary lists every localization key currently used by the card. Translate the values in `src/localization/en.js` into a new language file, keep the keys unchanged, and use the context below to understand where each string appears.
44

5-
Generated for target version 5.5.0. Total strings: 758.
5+
Generated for target version 5.6.0. Total strings: 879.
66

77
| Key | English | Description | Context |
88
| --- | --- | --- | --- |

0 commit comments

Comments
 (0)