Vision HA 2.5.12.14.3 and 2.5.12.14.4: safer, Music Assistant through its services, a smoother Home Assistant
Two versions answering the review of Vision for the HACS catalogue: two security fixes, Music Assistant used only through its services, and a rules calculation that no longer blocks Home Assistant.
Two Vision versions came out following the review of Vision for the HACS catalogue:
- 2.5.12.14.3, which also includes 2.5.12.14.1 and .2: security, Music Assistant through its services, and a first pass on smoothness;
- 2.5.12.14.4, which does one thing only: answer the last point of that review by making the rules calculation lighter still.
Here is what changes for whoever uses it.
Safer (2.5.12.14.3)
- The Planning card title carries the device name: it is now checked before it is shown.
- The link attached to an access request is clickable only if it starts with
httporhttps, and it is refused at save time otherwise.
Music Assistant: its services only (2.5.12.14.3)
Vision no longer uses the Music Assistant integration's internal connection. It goes only through its Home Assistant services: search, library, playback, queue (current and next track), queue transfer, favourite for the current track.
What that means, plainly:
- Whatever has no equivalent service is done in Music Assistant: seeing the full queue and played tracks, removing or moving a track, clearing what follows, crossfade, auto-adding tracks, player codec, Sendspin pairing (the PIN stays shown on the TV), a playlist's track count, removing a favourite. Vision answers “To be done in Music Assistant”.
- A Party's group volume now sets each speaker, keeping their differences.
- Vision no longer renames any Home Assistant device. Its “· Vision” players are recognised by their name; for a brand-new player, reload Music Assistant.
- Automatic music stop is off by default. Once turned on (Configure › Music), it only targets Vision's own players.
- The
pc_parental.musique_vider_suiteservice is removed.
What could be proposed to Music Assistant is written down in docs/a-proposer-a-music-assistant.md, in the repository.
Smoother (2.5.12.14.3, then 2.5.12.14.4)
What each device must apply (the apps and sites closed) is a fairly heavy calculation.
- In 2.5.12.14.3, it is done in slices: in our test, Home Assistant pauses for 15 ms at most, instead of 45 to 120 ms at once. On a small box, those times are longer. File reads and the unlock signing key no longer block Home Assistant, and the “software to approve” counter becomes a real entity.
- In 2.5.12.14.4, sensors and cards no longer recompute: they read the last result. The calculation runs away from Home Assistant's loop, and only when it is out of date (a write, a module change, or the next minute).
A block or unblock still reaches the device at its next check-in, as before. No setting to change.
Install
From HACS, update Vision (or download vision.zip from the 2.5.12.14.4 release page), then restart Home Assistant. The details of 2.5.12.14.3 are on its own page.
The Android app (1.93.06.3) and the Windows agent (1.93.6) are unchanged.