Version 1.4.0 makes every tracker on the radar reachable, also when several share one position, and makes the card usable with a keyboard and a screen reader. Tap actions of the type perform-action and assist now work as well.
Stacked points
- A chooser opens for points that share a position. [#68] Before, only the topmost dot received a click, so the others could not be reached by tapping. Click, Enter or Space on a dot that shares its position now opens a small list of every entity there, nearest first, with its distance. Picking one does what a click on it did before: its
tap_action, otherwise more-info, and markers open their dialog. Escape or a click outside closes the list, and Escape returns focus to the dot. A dot that stands alone acts immediately, as before. - Identical positions inside the radar count as a stack too. [#68] Until now only trackers piled up beyond the maximum range were grouped, with a list in the tooltip. Trackers at the same spot inside the radar are now grouped as well, and the tooltip lists them.
Tap actions
- perform-action and assist work. [#54] A point's
tap_actionwas run by a helper that predates these two action types, so setting either did nothing. Actions now go through Home Assistant's own action handling, so every type the editor offers works, confirmation prompts included. Points without atap_actionstill open more-info.
Keyboard and screen readers
- Dots can be operated with the keyboard. [#60] A focused dot showed its tooltip at a broken position, and Enter and Space did nothing. The tooltip now sits at the dot, and Enter and Space activate it like a click.
- Dots have a name for screen readers. [#70] Each dot is announced as a button with its entity name, distance, direction and a note when it is beyond range, in your language.
- The editor is keyboard friendly too. [#69] The help icons and the colour previews can be focused with Tab and opened with Enter or Space, with a visible focus ring. Before, they only worked with a mouse.
Also in this release
- Fewer redraws. [#67] The card redrew the chart on every Home Assistant state update, whatever changed. It now redraws only when something it shows changed: a configured entity, the centre entity, the language, the unit, the home location or, with zones shown, a zone. One small limit: renaming a device without a state change shows on the next relevant update.
Fixes
- Zones end at the radar's rim. [#58] A zone reaching past the outer ring was cut off only at the square edge of the drawing. It is now clipped to the circle.
- Long entity names no longer push the editor buttons away. [#57] The edit and remove buttons of an entity row stay visible.
- The card's minimum height grows with the legend. [#59] In sections layouts with pinned rows, a legend below the chart could overflow the card.
If you already use the card
Nothing to change. Existing configurations carry over, and click behaviour only differs where trackers share a position.