#55883 removed `cost_adjustment_day` from grid sources, but the test
fixture added in #53992 still set it, so the type check failed on dev.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Drag picture elements placed from the right or bottom
* Keep moved sides behind an empty inset
---------
Co-authored-by: Yosi Levy <[email protected]>
* Add a camera player with its own controls to the camera more info
Prototype of a live view that looks and behaves the same in every
browser, instead of each browser's native video controls:
- Controls fade out after a few seconds and come back on hover, tap or
focus: sound on the bottom start, picture in picture and full screen on
the bottom end, reset zoom on the top end once zoomed in.
- Zooms with the scroll wheel, a pinch or a double click and pans by
dragging. With wheel-zoom="modifier" the wheel only zooms while ctrl or
cmd is held, so a dashboard around the player keeps scrolling.
- A badge on the top start shows the stream protocol, while it connects,
and when WebRTC still connects in the background while HLS plays. It
opens a dialog that explains WebRTC, HLS and MJPEG.
- MJPEG streams play in a video through a canvas, so they can also be
shown picture in picture.
WebRTC streams now always keep their audio track, so a muted stream can
be unmuted again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Clean up the camera player when it is removed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Only zoom the camera player with ctrl or cmd and the scroll wheel
The scroll wheel alone now always scrolls the page around the player,
in the more info dialog just like on a dashboard. A hint over the player
shows which key zooms.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Drop the info icon from the camera stream badge
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Show the camera zoom hint as a small pill at the top end
It takes the place where the reset zoom button comes once zoomed in,
instead of covering the whole picture.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Keep the bottom sheet still while panning a zoomed in camera
Dragging a zoomed in camera picture pans it, but the more info bottom
sheet also took the drag and moved or closed. The zoomed in picture now
locks the sheet's swipe, like other controls that drag on touch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Keep the stream badge and the muted button over the camera picture
The connection badge now always shows, and so does the sound button
while a stream with sound is muted, so it is clear there is sound to
turn on. The other controls still fade out.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Fix MJPEG in the camera player, open stream info at the top
- An MJPEG stream never finishes loading, so some browsers never report
the image as complete and the player kept connecting. It now only
waits for a first frame, and shows the image itself when no frame
could be copied within a few seconds.
- The stream badge fades with the other controls again once connected,
only the muted sound button stays.
- The stream info dialog opens at the top like the more info dialog,
and as a bottom sheet on small screens.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Keep the bottom sheet still while pinching in it
A pinch starts with one finger, which the bottom sheet already took as a
swipe, so zooming a camera picture with two fingers also moved the
sheet. A second finger now stops the swipe and puts the sheet back.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Show MJPEG streams as an image again, fold away unsupported streams
- The MJPEG player now shows the image itself, like before, which
works in every browser. Only a hidden video plays a copy of it, for
picture in picture. Until the first frame it keeps the room of a
picture, with the camera's preview if there is one, so nothing
jumps. The player also no longer looked at the wrong image and kept
connecting.
- The stream info dialog lists the streams the camera can't use below
the others, folded away.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Give the unsupported streams in the stream info more room
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Keep the screen on while the camera more info is open
A live camera view shouldn't turn dark while watching it, and an image,
like an MJPEG stream, never keeps the screen on. The player now holds a
screen wake lock with keep-awake, and requests it again when the page
shows again, as browsers release it when the page is hidden.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Fix MJPEG loading, panning it with a mouse and full screen layout
- The MJPEG stream image now shows over the camera's preview while it
loads, instead of loading hidden, which some browsers never do. Where
a browser doesn't tell when the first frame arrived, it counts as
connected after a few seconds.
- Dragging the MJPEG image with a mouse started the browser's image
drag instead of panning the zoomed in picture.
- Full screen centers the picture and keeps it and the controls clear
of notches and rounded corners.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Load only the MJPEG stream, like before, not also its preview
Showing the camera's preview while an MJPEG stream loaded also fetched
a snapshot at the same time. For cameras whose MJPEG stream Home
Assistant makes from snapshots, this kept the stream from loading. The
player now only requests the stream, like before, with an empty space
of a picture's size until its first frame.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Load MJPEG streams from the Home Assistant URL
The MJPEG stream path was used as is, so it loaded from wherever the
frontend is served instead of from Home Assistant, unlike HLS. With
the frontend served on its own, like with script/develop_and_serve,
the stream never loaded.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Only play the MJPEG video for picture in picture, fix its state
- The hidden video that copies an MJPEG stream now only plays while
picture in picture is open, instead of all the time. It costs no
battery otherwise, and browsers don't offer picture in picture for it
on their own. Streams from another origin, which can't be copied,
have no picture in picture button.
- document.pictureInPictureElement only gives the outermost shadow host,
so the player never knew picture in picture was open. It now follows
the events of the video.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Drop the MJPEG loaded timeout, it only hid the wrong stream URL
The stream did load in every browser, it only came from the wrong URL
with the frontend served on its own. The player now only counts a
stream as connected once its first frame arrived.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Only explain MJPEG in the stream info while it shows
MJPEG is only the fallback of a camera's video streams, so the stream
info now only lists it while it shows: with a note when the video
streams failed, or as all there is for a camera without a video stream,
without listing the video streams it doesn't have.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ5kMnYuXaDsfPLh4h
* Add a zoom minimap and a play button, fix review findings
- While zoomed in, a minimap next to the reset zoom button shows the
whole picture and the part in view, so it is clear the zoom is
digital. It fades with the other controls.
- A play button shows while the stream was paused from outside, like
in the picture in picture window or the iPhone's own full screen
player, which had no way back before.
- While the Android app plays an HEVC stream in its own player, the
camera player only shows the stream, as its controls and zoom can't
reach the app's player.
- A failed MJPEG picture in picture stops copying frames again.
- The controls stay while one of them has keyboard focus.
- A mouse released outside of the player no longer keeps its press,
pinching stays under the fingers, and a resize keeps the same part
of a zoomed in picture in view.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Keep an MJPEG stream connected when the more info comes back
When coming back from the history, the camera stream started over
while the MJPEG player kept its picture and never told it again, so
it stayed connecting.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use theme tokens for the camera overlay colors and timings
The overlay uses the white color and focus ring tokens. The tokens need
no fallback, and their durations already turn off motion when reduced
motion is preferred.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use the list components in the stream info dialog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Show the play button when autoplay is blocked, reconnect MJPEG streams
- When a browser blocks playing even muted, the play button shows, as
it is the only way left to start the stream.
- Lifting one finger of a quick pinch no longer counts as a tap that
toggles the controls.
- While Home Assistant is disconnected, the stream shows as connecting.
An MJPEG stream loads again once it is back, after a restart, or when
the more info comes back, and counts as connected at its first frame.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Load an MJPEG stream again also before its first frame
When the connection came back before the first frame, nothing changed
for the player, so it never set the stream's source again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
* Add dynamic period cost indicator chip to Energy Usage Graph
- Evaluates configured grid energy sources to compute period net cost from cost statistics or fixed rates.
- Factors in export compensation (stat_energy_to / stat_compensation / number_energy_price_export) matching hui-energy-sources-table-card.
- Displays a dedicated <hui-energy-graph-chip> in the card header formatted with user's currency.
- Gracefully omitted when no cost data or fixed prices are configured.
* Share grid net cost with the sources table and address review
Use the cost statistics for the period only, so the chip matches the
sources table total. Drop the fixed-price fallback and the English
fallback string, format the cost once, and label the tooltip as net grid
cost.
---------
Co-authored-by: kdvlr <[email protected]>
Co-authored-by: Petar Petrov <[email protected]>
Refresh related filters on return and keep unassigned helper entries
The config list pages are kept by the router while an item is edited, so
the device, area, entity and blueprint filters kept the related items they
found before the edit. Look them up again when the page is shown again.
Helper config entries that failed or are still setting up have no entity,
so any filter hid them. They now count as items with nothing assigned:
"No area" keeps them, a selected id leaves them out.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Apply picked colors to custom themes that don't set them
Primary and accent colors picked in the profile only applied to the
default theme. A custom theme that only changes a few variables, like
the background, fell back to the default blue palette with no way to
pick another color. Picked colors now also apply to custom themes that
don't set that color in the active mode. Colors and palette keys the
theme sets itself still win.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Explain theme mode and colors set by the theme instead of hiding them
The theme mode selector and the color pickers were hidden for themes
that don't support them, so users couldn't tell why the options were
missing. Both now stay visible. When the theme fixes the mode or a
color, the control is disabled, shows the value the theme uses, and a
line of text names the theme as the reason.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Show theme explanations and palette-only primary in theme settings
The explanation text was rendered into the supporting-text slot after
the first render, which the list item doesn't pick up, so it never
showed. Use the supportingText property and let it wrap. A theme that
only sets the primary palette now shows its base palette color in the
disabled primary picker instead of the default blue.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Fix theme casts in the apply themes test
The test theme literals don't have the keys the Theme type lists, so
the type check rejected the direct casts.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Color the set by theme explanation as a warning
Make the text that explains why theme mode or colors can't be changed
stand out from the regular description, using the semantic warning
text color so it stays readable in light and dark mode.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Generate the primary palette from a custom theme's primary color
A custom theme that set primary-color without the palette kept the
default blue palette, so switches, buttons and other components using
the palette ignored the theme color. Generate the palette and the
light, dark and darker primary shades from the theme's primary color
when the theme doesn't set any palette key. Keys the theme sets itself
still win. State icons and text on primary are left alone, so existing
themes don't get their entity icons recolored. Colors that can't be
parsed, like var() references, are skipped.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Normalize the luminance of theme primary colors for the palette
A theme with a near black primary color, common in older themes that
used it for the header, got a near black palette, so switches, buttons
and links became hard to see in dark mode. Normalize the color before
generating the palette, the same as colors picked by the user. The
theme's own primary-color stays as it is.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJQTzwTG2xkvxUNQZg
* Name the darkest generated palette shade 05
The generated palette named its darkest shade ha-color-primary-5, but
components use ha-color-primary-05, so that shade kept the default blue.
Quiet primary fills in dark mode didn't follow the picked or theme color.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Reword the set by theme explanations and use secondary text color
Start the explanations with the theme name, so names that end in
"theme" don't read as "the ... theme theme". Show them in the semantic
secondary text color instead of warning orange, since they explain
rather than warn.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Quote the theme name in the set by theme explanations
Quoting the name marks it as a name, so theme names that end in "theme"
read fine, and keeps the wording consistent with other strings.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Drop "the ... theme" around the quoted theme name
The quotes already mark the name, so the extra words only made names
that end in "theme" read twice.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Trim comments and reuse existing color and localize helpers
Use cssColorToHex instead of a local formatHex wrapper, consume
localize directly instead of the whole internationalization context,
and drop comments that only restate the code.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Only tint the dark mode header for the default theme
Picked colors now also apply to custom themes, which also tinted their
dark mode header. Keep that tint on the default theme, so custom themes
keep the header they had before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
The trailing call captured the arguments of the call that scheduled the
timer, so calls made later in the same window were dropped. Keep the
latest arguments and use them when the timer fires.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Keep the Marketplace name out of translations
Marketplace is a product name, so translators should not change it. The
name now lives in MARKETPLACE_NAME: titles use it directly and sentences
get it through a {marketplace} placeholder. The panel title, Settings
entry, and repository page header no longer have translation keys.
* Fill the Marketplace name inside localize
Every string with {marketplace} needed its caller to pass the name, and a
forgotten caller turns the string into a translation error. localize now
merges NAME_PLACEHOLDERS under the caller's values, so the callers only
pass what varies.
* Keep the radius when editing a location selector's coordinates
The form handler emitted radius: NaN when the value had no radius yet,
and dropped a read-only radius.
* Test the location selector's form value as a pure function
Rendering tests are out of scope for the frontend tests, so building the
value moves to computeLocationFormValue and is tested directly.
* Address location selector review feedback
Keep a read-only radius unrounded, fall back to the default radius the
map shows, and move the helper into its own module as
computeLocationSelectorValue.
* Keep a cleared location selector radius empty
Apply the default radius only when the value never had one, so clearing
the field no longer snaps it back to the default. Share the default
radius constant with the selector.
* Return null from parseAspectRatio for unhandled formats
parseFloat stops at the first character it can't parse, so input such as
16/9 or 16X9 was read as 16 and returned a 16:1 ratio instead of null.
Match the supported formats in full instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Return null from parseAspectRatio for non-string input
YAML loads an unquoted aspect_ratio: 16:9 as the base-60 number 969.
The regex coerced it to "969" and returned a 969:1 ratio, where the
previous code threw on it and returned null.
Co-Authored-By: MindFreeze <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: MindFreeze <[email protected]>
A visibility written as a single mapping instead of a list reached the
for...of loop as a plain object and threw a TypeError. Wrap it in an
array, as nested conditions already are.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Wait for the panel that replaces one before it was ready
* Modify event listener for 'hass-panel-ready'
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
---------
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* Announce partly selected list options to screen readers
A list option with `indeterminate` set draws a mixed checkbox, but the
row (role `option`) only exposed `aria-selected` and the checkbox sits in
an inert wrapper, so screen readers read the row as not selected. Add a
localized "Partly selected" `aria-description` while the row is
indeterminate, and remove it again when it no longer is.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Remove the rendering test for the partly selected description
The frontend testing guidance rules out rendering tests for components
that only put context data into their output.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Document the indeterminate option in the list gallery page
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Switch the home-assistant/actions steps in release.yaml from the master
SHA pin to the 2026.11.0 release tag. The tag points to the same commit
(07f46fd), and actions.lock pins it there.
* Translate attribute values of groups with their members
A group entity, such as a light group, has no translations or icons for
the attribute values of its members, for example light effects. When a
group has no translation or icon for a value, use the one of a member of
the same domain that has it. A member's default icon is not used.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Skip group members without a platform for attribute icons
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use group_entities for the members of a group
Find the members with computeGroupMemberIds, which also reads the
group_entities attribute of groups from integrations.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use the range icons of group members
A member can define icons for numeric attribute values with ranges.
Use them in the member fallback too, without the default icon of the
member.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Continue the group icon lookup when a member's icons fail to load
A failed request for the icons of a member stopped the whole lookup, so
the other members and the domain fallback were not tried.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Share the group member filter of attribute translations and icons
Move the filter of group members with translations into
computeGroupMemberEntries next to computeGroupMemberIds, so the attribute
value translation and the attribute icon use the same rule. The
translation lookup now also skips members without a platform.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Give ha-spinner a translated, overridable accessible name
wa-spinner always names its progressbar with an untranslated "Loading" and ignores the host's aria-label, so every spinner was announced in English and labels set by callers never reached screen readers. Render the same template, but use the host's aria-label when given and the translated "Loading" otherwise.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Translate spinner labels in the data disk and card/badge editors
These aria-labels were hard-coded English. They had no effect before, but ha-spinner now exposes them, so they must be translated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Document how to label ha-spinner in the gallery
Explain that spinners are announced as "Loading" by default, how to name what is in progress, and to use ha-button loading for button actions.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Translate the loading label in the gallery
The gallery's stand-in localize echoes unknown keys, so spinners there were named "ui.common.loading".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Use accessibleLabel to name ha-spinner
Match ha-input, ha-badge and the Web Awesome components, which take accessible-label. Taking aria-label put the name on the role-less host as well as on the progressbar, and overrode the native ariaLabel property.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Make ha-spinner a standalone component
ha-spinner extended wa-spinner but replaced its template, so it only used the base for its styles. Make it a plain LitElement with the same template, look and API (size, accessible-label, --ha-spinner-* variables), and improve its accessibility:
- aria-hidden on the host is passed on to the progressbar, because in Chromium the host's aria-hidden alone doesn't keep "Loading" out of a parent's name.
- In forced colors mode, the track and arc use system colors so they stay visible.
Size presets now come from CSS, which also fixes removing size: it cleared --ha-progress-ring-size and left the old preset in place.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Add hac-spinner and base ha-spinner on it
Move the spinner into @home-assistant/components as <hac-spinner>, with the same look and accessibility as ha-spinner: an indeterminate progressbar named with accessible-label, aria-hidden passed on to it, system colors in forced colors mode and no animation with reduced motion.
Its theme variables fall back from --hac-spinner-* to the ha-spinner variables and then the semantic tokens, like hac-card. Its default name is "Loading", which a subclass can replace.
ha-spinner stays as a subclass that only translates that default name, so existing usages keep working unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Size hac-spinner without em
Resolve the size into --_size and use it directly, instead of setting it as the font size and measuring in em, which the codebase doesn't use.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Fix tests and gallery build for hac-spinner
Vitest didn't use the ha-source export condition, so it resolved @home-assistant/components/spinner/scoped to the unbuilt dist and every test importing ha-spinner failed. Use the condition like tsconfig.json and the app build do.
The gallery turns markdown into a template literal, so the ${} in the spinner page's code example was evaluated and broke the gallery build and type check. Show the attribute form instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Keep ha-spinner's sizing, hiding and legacy variables
Address review feedback on hac-spinner compatibility with ha-spinner:
- A size preset wins over --ha-spinner-size again, as when ha-spinner set it inline, so a theme-wide value can't resize a tiny spinner.
- hidden is !important, as in Web Awesome, so it still hides a spinner styled with display: block.
- --indicator-color, --track-color and --speed set on the element work again; like --track-width they are set on the host, so ancestor values don't leak in.
Also hide the ZHA add devices spinner from screen readers, since the heading above it already says the same.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
* Keep the base part and tidy spinner docs
Expose the svg as part base too, like wa-spinner did, so ha-spinner::part(base) styles from custom cards keep matching. Fix the ha-spinner doc comment, where accessible-label isn't "as before", and drop the gallery sentence the Accessibility section already covers.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eJ6ew6Qshqh75jaoaL
---------
Co-authored-by: Claude <[email protected]>
hui-image only fetches a camera snapshot once its card scrolls into view, but it rendered the loading spinner regardless. An off-screen camera card therefore kept an infinite spinner animation running, forcing a style, layout and paint update every frame. With several cameras below the fold this pinned a CPU core in the iOS/macOS companion app's web view.
The toggle group only showed the active button through its colour, so
screen readers could not tell which option was selected.
ha-button now forwards aria-pressed to its inner button, the element that
gets focus, in the same way wa-button forwards aria-label. The toggle group
sets it on each button, inside the existing wa-button-group role="group".
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Nest the Status filter options like floors and areas
The Status filter of the entities page lists its opposite options under a
row for each pair, like areas under their floor in the Areas filter: Available
and Unavailable under Availability, Enabled and Disabled under Activation, and
Visible and Hidden under Visibility. A pair row ticks or unticks both, and is
partly ticked while only one of them is. Every option has an icon, matching
the status column and the actions for the selected entities.
Available and Unavailable are now exact opposites: entities without a state,
which are the disabled ones, count as unavailable. The hidden Availability
column, used for grouping and sorting, matches the filter.
In the Areas filter a ticked floor shows its areas ticked. Unticking one of
them keeps the others and leaves the floor partly ticked, and ticking the last
area of a floor picks the floor again. The filter value and its links don't
change. Only the list scrolls now, instead of the list and its container.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Untick listed areas of a floor and keep empty states available
Unticking an area of a ticked floor kept it ticked when an older filter
value listed the floor and that area. An entity with an empty state,
such as a cleared text helper, counted as unavailable.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Match a floor and all its areas the same, and count floor targets per area
On Automations and Scripts, ticking every area of a floor picks the floor,
whose search also finds what targets the floor directly, while a search for
each of its areas doesn't. So the same ticked checkboxes could give
different results.
- The Areas filter now looks a picked floor up as its areas, so a floor and
all its areas always match the same.
- An automation or script that targets a floor counts for each area on that
floor, as it acts on all of them. Ticking only the Kitchen also shows the
automations that target the whole ground floor.
- To tell what targets a floor itself, the floors of the picked areas and
their other areas are looked up too, for automations and scripts only.
Other tables have nothing that targets a floor directly.
- The value stays `{ floors, areas }`, so links and stored filters keep
working.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Find what targets a floor only when the whole floor is picked
Telling what targets a floor directly by taking out what its areas' searches
find missed automations and scripts that target a floor and also name one of
its areas. Search results can't tell those apart, so floors are looked up
whole again: a floor, or a floor whose areas are all picked, uses the floor
search, which also finds what targets the floor itself. Areas picked without
their whole floor use the area search.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Look the floors and areas up again when they change
Whether a floor is picked whole depends on which areas it has, so when an
area is added to a floor or moved to another one, the Areas filter looks
its picks up again instead of keeping the items of the old layout.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Show the energy collection key prefix in the card editors
The collection key of energy cards must start with "energy_", which
users had no way of knowing. The editors now show "energy_" as a fixed
prefix in the field, so only the part after it is typed.
ha-input gets inputPrefix and inputSuffix. With a label, a prefix uses
the inset label layout of the entity ID field. The text selector, the
multi input, the dialog box and the entity ID field now use them
instead of their own slotted spans.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Always add the collection key prefix
Only adding "energy_" when it was missing rewrote a valid key such as
"energy_energy_custom" to "energy_custom" whenever another field in the
editor changed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Keep an empty collection key on the default collection
An empty collection key means the default collection, but editing any
other field in the editor saved it as "energy_", a separate collection.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Suggest energy meters that aren't configured
* Address review feedback
* Address review feedback
* Simplify energy meter suggestions
* Offer individual device for gas and water suggestions
* Fix grid pairing and dismiss sync
* Open the source editor from a suggestion
* Keep pending dismissals across subscription updates
* Address review feedback
* Refactor gas unit class condition for suggestions
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* Revert "Refactor gas unit class condition for suggestions"
This reverts commit 38b26e46a2.
---------
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* Add ha-list-item-switch for settings rows with a switch
The whole row is the label of the switch, so clicking anywhere on it
toggles the switch and the row text names it for screen readers. Rows
that only had a switch at the end now use it instead of an ha-switch
with a hand-written accessibleLabel.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Name switch rows by their headline only
The switch in ha-list-item-switch was named by its whole label, so the
supporting text became part of the name. Use a native switch input in
the row's own shadow root, labelled by the headline and described by
the supporting text, and keep ha-switch only to show the state.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Simplify the onboarding location announcements
- Announce the selected place with its display_name instead of building
the label in a separate helper.
- Route list and marker clicks through one _selectPlace.
- Show the plain no-match text in the empty results row, like pickers
do, so the search term doesn't need its own state.
- Drop aria-busy on the results list.
- Don't search on Enter in an empty field.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Remove unneeded comment
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Give automation editor switches and checkboxes an accessible name
The optional field checkboxes in actions, triggers, conditions and
integer form fields, the target picker selection checkbox and the
automation state switch in the automation list had no accessible
name. Label each with the field, target or automation name.
Claude-Session: https://claude.ai/code/session_018Kv7eJ7eDkVF2sM4WjguEm
Co-authored-by: Claude <[email protected]>
* Give the more-info and Assist dialogs an accessible name
Add accessibleLabel to ha-adaptive-dialog and ha-bottom-sheet. The bottom
sheet passed aria-labelledby="ha-dialog-title" to wa-drawer, but that id
lives in another shadow root, so sheets had no name even with a header
title. Pass the title text as the drawer label instead.
Label more-info with its visible title and Assist with "Assist".
* Give the remaining dialogs an accessible name
Dialogs that put their title in a slot or a custom header now pass it as
accessibleLabel: the dashboard editors, the media dialogs, the config
flow, add automation element, the quick bar, and a few config dialogs.
ha-drawer gets accessibleLabel too, so the mobile sidebar and the
notification drawer are named.
Enter on a search result or in the country picker no longer finishes
the step: the host-wide Enter listeners in onboarding-location and
onboarding-core-config are gone, so only the Next button saves.
A polite status region announces the result count, no results, and the
selected place. The visible "No results" text is localized.
The search field becomes readonly instead of disabled while searching,
so it keeps focus. Pressing the search or detect button moves focus to
the field with select(), because focus() on ha-input is a no-op while
its slotted button holds focus, and the button is replaced by a spinner.
The select-all checkbox in the header and the selection checkbox in
each row had no accessible name. Label the header checkbox "Select
all" and each row "Select {name}" from the row's main column, with
"Select row" when the main column has no plain text value.
Claude-Session: https://claude.ai/code/session_018Kv7eJ7eDkVF2sM4WjguEm
Co-authored-by: Claude <[email protected]>
On narrow screens the subpage tabs sit at the bottom of the screen but
came before the content in the DOM, so keyboard and screen reader focus
jumped from the header to the bottom bar and back up. Render the bottom
bar after the content and FAB so focus follows the visual order.
Both tab bars are now a labelled nav landmark, so screen reader users
can still jump straight to the tabs without going through long lists.
fixes#14117
The teachingbirds, kernehed and jimpower themes are dark themes, but
the demo applied them as light themes. Only the few variables they set
turned dark, so newer variables (text colors, inputs, dropdowns) stayed
light, giving black text on dark cards. Custom demo themes now declare
whether they are dark and are registered like a theme with only a dark
mode, so the app keeps them dark when it applies the theme again. They
also get a primary palette generated from their primary color, so
buttons, switches and checkboxes follow the theme. Variables that no
longer exist are removed, as is a black divider color that does not
show on a dark background.
Jimpower wrapped its picture elements cards in a bundled copy of the
archived card-modder, which could not load the lazy loaded card and
showed errors instead. Its styles are now ha-card theme variables, so
card-modder and card-tools are removed. The background these wrappers
set was always covered by the card images.
Arsaboo had an empty theme and now uses the default theme, like the
sections and home demos.
Co-authored-by: Claude Opus 5.5 <[email protected]>
The home demo dashboard uses the custom:demo-home strategy, which did not
expose the editor of the home strategy it wraps, so its edit dialog only
offered YAML. The security page could not save because
frontend/set_system_data was not mocked.
Keep frontend system data per key for the session in the demo stub, and
notify subscribers on save. This also fixes the subscription returning the
core data for every key.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Rename Home Assistant Cloud to Home Assistant Link
* Update the Nabu Casa logos to the new branding
* Use the Nabu Casa mark for Home Assistant Link icons
* Size the Nabu Casa logo by height in the voice assistant setup
* Rename the remaining Cloud integration error to Home Assistant Link
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use the link icon for Home Assistant Link
* Update the Home Assistant Link description in settings
---------
Co-authored-by: Bram Kragten <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Home Assistant Cloud becomes Home Assistant Link in 2026.12, so the My
link gets the new key link. cloud stays for existing links and badges,
and for my.home-assistant.io, which keeps sending instances to cloud for
now. link comes first so the "m" shortcut creates links with the new key.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Show update release notes messages in the more info dialog
* Replace message display with ha-markdown component
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* Add RTL support for message display in ha-markdown component
* Add language parameter to updateReleaseNotes function
* Fix position
---------
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
cancel() cleared the timer but kept its id, so with immediate=true the
next call saw a pending timer and was delayed by the wait instead of
firing on the leading edge.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Show startup progress while Home Assistant starts
Replace the startup toast that named the longest running integration with a compact progress card: phase, integrations set up out of scheduled, and expandable details for active, failed and retrying integrations. Completion is only shown once Core is running.
* Address startup progress review feedback
Use a native toggle button with aria-expanded, mirror the centering in RTL, raise secondary text contrast, consume localize from context and keep listening after dismiss so the completion toast is accurate.
* Keep startup progress clear of toasts
Only offer the integrations action to admins, announce only phase and issues, lift the toast stack above the card and reattach the card after the launch screen swap.
* Move startup details into a dialog
* Handle older cores and late snapshots in startup progress
* Follow the new startup progress payload
* Make the startup toast minimal
* Add fallbacks to the startup toast
To keep trailing zeros, a numeric string's decimal places were used as
the fraction digits, and Intl.NumberFormat throws a RangeError for more
than 100. Cap them at 100.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Grouping into a plain object made `key in result` true for keys such as
constructor or toString, so push was called on the inherited function
and threw, and a __proto__ key replaced the result's prototype. Group
into a Map and convert it with Object.fromEntries instead.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Add range selection and highlight to charts
* Keep range selection on release outside the chart and simplify the highlight
* Add range selection examples to the statistics chart gallery page
* Unify chart selection with a fade mask and a clear button in the gallery
* Move chart selection and highlight into ha-chart-base
* Clear stale chart masks after a data update
* Make chart selection opt-in with select-mode and cache the mask color
* Keep drag to zoom when the chart select mode is point
* Only add empty chart mask areas once a mask was shown
* Set the mask flag where the mask is applied and skip hidden statistics when snapping
IPv4 octets accepted leading zeros such as 010.1.1.1, which the backend
rejects. The IPv6 pattern also missed addresses ending in dotted IPv4
after five or six groups, such as 1:2:3:4:5:6:1.2.3.4. Build the IPv6
pattern from the RFC 3986 grammar, which covers every IPv4 suffix form
and reuses the stricter IPv4 octet.
Co-authored-by: Claude Opus 5.5 <[email protected]>
csvSafeString only quoted values containing a comma or quote, so a
logbook message or state with a line break split its row in the
exported CSV.
Co-authored-by: Claude Opus 5.5 <[email protected]>
A history or logbook URL with a start_date or end_date that couldn't be
parsed decoded to an Invalid Date, and createHistoryLogbookUrl threw a
RangeError calling toISOString on it. Leave such dates out so the panel
uses its default range.
Co-authored-by: Claude Opus 5.5 <[email protected]>
CSS units are case-insensitive, but only lowercase s and ms were
recognized, so 3S was read as 3 ms and 300Ms as 300 seconds.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Allow selecting a sensor for battery capacity
* Update accessible label for battery capacity input
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
---------
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
charAt(0) returns only the high surrogate of a letter outside the BMP,
which has no uppercase form, so the letter was left unchanged. Use the
first code point instead.
Co-authored-by: Claude Opus 5.5 <[email protected]>
The unit was picked before rounding, so a value just below a unit
boundary, such as 1048575 bytes, rounded to 1024 KB instead of 1 MB.
Co-authored-by: Claude Opus 5.5 <[email protected]>
х was also listed in the single-character map, which runs first and
replaced it with h, so its kh entry in complex_cyrillic was never used.
Remove it from the single-character map.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Add database usage card to the storage page
* Address database usage card review feedback
* Open settings for disabled entities and use theme color variables
* Address review feedback on the database card
* Analyze the database on request
Follow the reworked recorder/database_usage response: separate entities and statistics, nullable tables, free and WAL bytes.
* Only make rows with entity settings clickable
* Use each light's Kelvin range in the service color temperature slider
The light turn-on action advertised one 2000-6500 K slider for every
light, so a device with a different range could not be set from the
automation editor. The slider now follows the targeted lights.
* Limit the Kelvin slider to the lights an action actually calls.
The optional color temperature field now starts inside that range. The adjustment stays on light.color_temp_kelvin, and an area target no longer includes a light assigned to another area.
* Ignore secondary lights and normalize entity ids in the Kelvin range.
Service calls skip hidden and categorized lights reached only through an area or device, and legacy entity ids can be comma-separated or mixed-case.
* Use targeted entity ranges inside the color temperature selector.
The service form already supplies those entities, so the slider no longer resolves targets on its own.
* Leave the stored color temperature when the slider range changes.
The selector shows the targeted lights' Kelvin bounds, and core already clamps the value a light can produce.
* Start an optional Kelvin value inside the targeted lights' range.
Checking the field creates the stored value, so it matches the slider. Later light updates leave that value alone.
* Move the optional Kelvin default into a follow-up.
The selector change stands on its own.
* Count camera favorites as two slots in common controls
A camera favorite shows as a picture card that is two rows high, so it
fills the space of two tiles. The common controls limit counted it as
one entity. The extra suggestions then went into a new row.
The limit now counts tile-sized slots. A camera uses two of them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5HYRVdFHKnLsjPaoyy
* Count favorite slots in the home editor suggested toggle
The home editor disables the suggested entities toggle when the
favorites fill the section. It counted entities, so four camera
favorites left the toggle on although no suggestions show.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5HYRVdFHKnLsjPaoyy
* Fill free slots when pinned entities do not all fit
When the pinned entities use more slots than the limit, the ones that
fit can still leave a free slot. For example, two pinned cameras with
a limit of 3. The section now checks the size of the pinned entities
that fit, and fills the free slot with a suggestion.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5HYRVdFHKnLsjPaoyy
* Revert "Fill free slots when pinned entities do not all fit"
When the pinned entities that fit leave a free slot, the section asks
for suggestions. If usage prediction is not loaded, the section then
shows a message or hides itself in place of the pinned entities.
When the pinned entities fill the limit, the section now shows them
without suggestions again.
This reverts commit df676dfbe5.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5HYRVdFHKnLsjPaoyy
* Always show pinned entities in common controls
The limit could drop pinned entities that did not fit. If usage
prediction was not loaded, the section showed a message or hid itself
in place of the pinned entities.
Pinned entities now always show. Predictions only fill the slots that
the pinned entities leave free.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5HYRVdFHKnLsjPaoyy
---------
Co-authored-by: Claude <[email protected]>
* Allow theming timeline colors of custom states
States of domains without state colors now use --state-<domain>-<state>-color (or its device class variant) when the theme defines it, before falling back to the graph palette.
* Drop device class variant for custom state colors
* Restore device class variant for custom state colors
A start that was still fetching the stream URL, loading hls.js or
fetching the playlist could finish after the player was hidden or
removed, and create a player nobody stops. Count clean ups the same way
the WebRTC player does and drop starts that are outdated.
Restarting after a clean up reused the old stream URL. Core resets its
access token once the stream has been idle for 30 seconds, so the
restart got a 404 and the card fell back to MJPEG. Since the companion
apps now clean up right away when hidden, this happened every time the
app was in the background for more than 30 seconds. Fetch a new stream
URL on every restart instead.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Hide a mouse or pen press when it moves off the control and show it
again when it returns while still held, since releasing it there still
clicks. Ignore the context menu during a touch press so a long press
keeps its pressed state until the touch ends.
* Don't count light groups in the home summary when their lights are counted
* Share the group member helper with the more-info dialog
* Let the group member helper own the registry lookup too
computeGroupMemberIds now reads the registry's group_entities first, then
the state's group_entities, then the state's entity_id, so the more-info
dialog and the home summary share one definition.
For more-info, the only difference is that the state's group_entities is
now tried before entity_id when there is no registry copy. Core writes the
same capability into both, so it is the same data.
* Check nested group members for listed lights at any depth
* Keep one of two listed groups that contain each other
* Redesign the cover more-info dialog
* Refine cover drawings, handle and target edge
* Fix cover position fallback, tilt percentage and cancelled drags
* Remove speed selection from the cover dialog
* Hide the cover drawing from assistive tech without position
* Clean up the cover dialog code and rework the tilt control
* Soften the cover tilt gauge
* Use a generic drawing for doors and windows and simplify cover commands
* Update the active cover favorite when the position changes
* Drop the cover request when the position changes without moving
* Fix cover request controller typecheck
Co-authored-by: piitaya <[email protected]>
* Stop registering the cover request controller on its host
* Show the selected cover mode value in the header and hold tilt requests while moving
* Show only the state in the cover header when the value is unknown
* Follow the ARIA slider convention for cover arrow keys
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: piitaya <[email protected]>
* Fix more info opening when releasing outside an entity row control
A press that starts on the control of an entity row and ends on the name
made the browser send the click to the row, which opened more info or ran
the hold action. The row now drops that click.
* Let clicks without a pointer through after an unfinished control press
A control press that ends without a click left the flag set, so the next click on the row with no pointer behind it (assistive technology or element.click()) was dropped. Only pointer clicks (detail > 0) are dropped now.
The formatjs patch releases in #55875 wrap each locale-data file in an
IIFE that receives the data as its argument. The extractor matched the
__addLocaleData(...) call and captured the identifier `data`, so every
build failed while parsing locale data.
Take the IIFE's trailing argument when present and fall back to the old
inline call, so the script works before and after the bump.
* Widen the energy Totals table so comparing periods fits
With "Compare data" on, the Totals table (energy-sources-table) adds the
columns "Previous energy" and "Previous cost". On the Summary view it sat
in a one-column section, and on the Gas and Water views it had 12 of 36
grid columns, so the current Energy and Cost columns were pushed out of
view behind a horizontal scrollbar.
The Totals section on the Summary view now spans two columns and the card
fills it. On the Gas and Water views, the graph and the Totals table each
take the full width, one below the other, as on the Electricity view.
Fixes#54975
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Show previous values below current ones in the energy Totals table
Reverts the layout changes of the previous commit. With "Compare data" on,
the Totals table (energy-sources-table) added the columns "Previous
energy" and "Previous cost", which pushed the current Energy and Cost
columns out of view in narrow cards. The table now keeps its Source,
Energy and Cost columns and shows the previous period's value as a
secondary line in the same cell, so it fits at any card width, also on
custom dashboards.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use ha-tooltip for the previous value's label
The secondary line used a native title attribute. It now uses ha-tooltip,
as the repository does for contextual hover help.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Make the previous values keyboard accessible and their IDs unique
The tooltip anchors of total rows were derived from their translated
labels, which could collide in non-Latin languages. Total rows now pass a
fixed key. The previous values are focusable, so keyboard users can open
their tooltip too.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Label the previous values in the table header
The previous values were explained only by a per-cell tooltip, which touch
users could not open. The Energy and Cost headers now show "Previous
energy" / "Previous cost" as a secondary line while comparing, which
works for touch, keyboard and screen readers alike. The tooltips, their
IDs and the extra tab stops are gone.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Keep config navigation rows named on older Android WebViews
Since list rows only wrap the headline and supporting text in their
button, the Companion app row became a text-only button. Android System
WebView 83 (API 30) then sometimes exposes it without a name, so the
row is missing from the accessibility tree and the Android E2E test
fails to find it.
Pass the text as headline and supporting-text properties instead of
slotting it, so it is rendered inside the button itself. The
accessibility tree in current browsers is unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eF2M9PZKwPrPLV631p
* Remove comment from config navigation list
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eF2M9PZKwPrPLV631p
---------
Co-authored-by: Claude <[email protected]>
* Keep dragged nodes in place in network graphs
Fix the ECharts force drag order, so a node can be dragged with physics
on when layoutAnimation is off. Pin dragged nodes where they are dropped
and keep their positions through re-renders. Count only nodes of visible
legend categories for the layoutAnimation threshold.
* Keep pins through legend changes, clicks and chart recreation
Write the pin and position of a dropped node into the ECharts item option,
so a legend re-layout keeps them. Pin a pinned node again after a click,
and render again when the chart is recreated, e.g. after a theme change.
* Move only the dragged node with reduced motion
With reduced motion, a drag no longer runs the force layout, so only the
dragged node moves. A new force option of our ECharts patch, dragAnimation,
tells this apart from layoutAnimation, which is also off above 100 nodes.
* Drop the ECharts drag patch
Restore the ECharts patch and the lockfile to dev, and remove the
dragAnimation option. Dragging with physics on and without layout
animation is an ECharts issue to fix upstream.
* Render on legend changes only when the layout animation flips
The legend lays the graph out again itself, so the hidden categories are
no longer reactive. Only a change of the layout animation threshold saves
the positions and renders. Keep the private ECharts series access in one
helper.
* Edit batteries measured per direction
The battery editor first asks what the battery measures: only the total
in and out, or separately for grid, solar and home. Per direction shows
an energy and an optional power sensor for each flow, offers Integral
helpers for power-only flows, and warns when a flow's source is missing.
* Hide a battery's generated power sensor from its total power pickers
Switching a battery to another power setup removes its generated net
power sensor, so it can't be picked as the new power sensor.
* Fix getWeatherExtrema when either is 0°
* Update src/data/weather.ts
Co-authored-by: Petar Petrov <[email protected]>
* Simplify tempLow assignment conditions
Refactor temperature low assignment logic in weather.ts
* Prettier
* Apply suggestion from @MindFreeze
Co-authored-by: Petar Petrov <[email protected]>
---------
Co-authored-by: Petar Petrov <[email protected]>
* Marquee RTL
* Refactor _animationFactor to a getter
Refactor _animationFactor to be a getter that determines its value based on document direction.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
---------
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* Move energy settings from dialogs to an editor sidebar
Sources and devices on all energy configuration tabs now open in a
sidebar like automation steps, with the selected row highlighted and a
save button for unsaved changes. Cost tracking and power measurement type
use dropdowns, and the editor inputs are grouped with dividers. The energy
setup wizard keeps its dialogs, which now reuse the same editors.
* Read the energy editors' data from contexts
The energy editors, the power measurement config and the upstream device
picker consume contexts instead of hass, so the setup wizard dialog no
longer passes it. createConfigFlow, handleConfigFlowStep and
getSensorDeviceClassConvertibleUnits take callApi or callWS.
The sidebar slots the editor in, so switching to the bottom sheet keeps
unsaved changes, and the lists are inert while the editor saves.
* Confirm unsaved energy edits on the back arrow
The toolbar back arrow asks before discarding the editor's changes, like
the automation editor does, and the sidebar is inert while the editor
saves, like the lists.
* Edit energy sources and devices on pages of their own
Sources and devices open on a page with a back arrow, their name as the
title and the form in a card, instead of in a sidebar. The lists go back
to the centered column, and the energy setup wizard keeps its dialogs.
* Keep energy page saves and deletes apart
Save and Delete are disabled while the other runs, since both write all
preferences, and a page that was left no longer navigates when its save
or delete finishes.
* Use measured battery flows on the energy dashboard
A battery can report its energy and power per direction: grid to
battery, solar to battery, battery to home and battery to grid. The
cards now use those flows as measured and estimate only the rest, so
grid charging no longer shows up as solar charging. Batteries with
total in and out statistics work as before.
The power Sankey now shares the energy flow math, and its type links
get explicit values instead of the greedy fill.
* Describe battery totals without a destination
* Show the energy error screen when statistics fail to load
Editor pages wait for the statistics metadata, so a failed request kept
them loading forever. It now shows the panel's error screen, like a
failed preferences or validation request.
* Name unnamed per-direction batteries in the power Sankey
* Don't register removed dirty state providers again
* Keep measured flows without a meter out of the home load
A measured battery flow whose grid or solar meter isn't configured never
passed through that meter, so it no longer changes the home load. The
power Sankey passes grid and solar as unmetered when they have no power
sensor.
* Open energy items through links
The editors open on pages now, so the list rows, the add buttons and the
CO2 signal row are links that can open in a new tab. ha-automation-row
gets an optional href that wraps the icon and header in a link and keeps
the icons slot outside of it. The setup wizard still opens dialogs.
* Note that a battery needs a charge and a discharge direction
The launch screen hardcoded a light background and dark text, so it
stayed white when the user or the cast device used dark mode. Use the
theme variables the receiver's ThemesMixin already applies to the
document, keeping the previous colours as fallbacks.
* Keep category filter list on a quick scope round-trip
Clear the category filter only when the scope differs from the subscribed one, and consume the registries context once in NavigationPathInfoController.
* Skip navigation path re-resolves when its inputs are unchanged
Each controller compares the values it resolved with, instead of sharing a module-level areas and devices cache.
* Clear the category filter list on disconnect
A reconnect with a new scope would otherwise show the old scope's categories until the new ones arrive.
* Offer a blueprint's trigger IDs in Triggered by conditions
In an automation that uses a blueprint, a Triggered by condition in one
of its inputs listed no triggers, and flagged the IDs it already used as
missing. The editor took the list from the automation's own triggers,
and a blueprint automation has only `use_blueprint`.
For a blueprint automation, fetch the blueprint with its inputs filled
in (`blueprint/substitute`) and list the IDs its triggers set, fetching
again when the inputs change. A trigger without an ID isn't offered,
since the editor can't give one to a blueprint's trigger, and an ID
shared by several triggers is listed once, as the condition matches any
of them.
The condition is in one of the blueprint's inputs, which the trigger
controller doesn't edit, so its `select` returns false there, as
`updateTriggerId` does for a trigger it doesn't own, and the condition
editor saves the pick through `value-changed` instead.
An option shows its trigger number only while trigger rows show theirs
(`showIndices`): the numbers point at trigger rows, and a blueprint
automation has none.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Ignore an empty use_blueprint while editing YAML
`use_blueprint:` with no value parses to null, and requesting its
triggers threw on `.path`, aborting the editor's update.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Hold back trigger warnings until a blueprint's triggers are known
While a blueprint's triggers load, or when its inputs can't be substituted
yet, a Triggered by condition can't tell a missing ID from one it hasn't
seen. The trigger context now carries optionsStatus: "loaded", "loading" or
"failed". Until it's loaded, the condition and the row's summary list the
selected IDs without the missing-trigger warning or chips. An empty
condition shows "Loading", or a hint to set the blueprint's required inputs
once substitution has failed. After a failure the last triggers stay listed.
use_blueprint is also compared by value, since YAML mode parses a new object
on every edit and an edit elsewhere fetched the triggers again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Address review: spinner, refetch warnings and index badges
- Show a delayed ha-spinner while a blueprint's triggers load, following
the frontend's loading pattern, instead of visible "Loading" text.
- Mark every request as loading, keeping the last triggers listed, so an
input change that renames a trigger's ID doesn't read as missing until
the new triggers arrive.
- Publish showIndices false for a blueprint automation. Switching to YAML
removes the manual editor's sidebar without reporting it, which left
the blueprint's condition numbering trigger rows that don't exist.
- Drop inline comments from the blueprint trigger code.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Show trigger IDs when trigger rows aren't numbered
A Triggered by condition tells options apart by description, custom ID or
index. In a blueprint automation there are no indices, so two triggers
that describe the same with generated-prefixed IDs looked identical while
selecting different IDs. Without indices, every option's ID is shown.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Say when a blueprint's triggers have no IDs
A blueprint whose triggers have no IDs loads with nothing to offer, and
the condition said "Add a trigger first", which can't be done in a
blueprint automation. optionsStatus is now blueprintStatus, left out for
an automation with its own triggers, so the condition can tell the two
apart and say the blueprint's triggers have no IDs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Rename blueprint_triggers_pending to blueprint_triggers_unavailable
It's only shown once substitution has failed, not while loading.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Drop controller tests that cover one-line branches
Keeps the tests for the response race, the statuses and refetching.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
The ingress session is kept alive by a 60 s timer only. Timers do not run
while the device sleeps, so after the browser comes back to the foreground
the session may already be expired, and the Supervisor refuses every
request to the app until the next tick. An app that reconnects its
websocket right away stays unreachable for up to a minute.
Refresh the session on visibilitychange and resume as well. The refresh is
shared with the timer: validate the session, create a new one when that
fails, and never run twice at once. A failed refresh no longer surfaces as
an unhandled rejection, the next one retries.
* Revert camera ICE server filter and WebRTC-first memory
Follow-up to #55861 after review feedback:
- Use the full ICE server list from core again. The slow starts come from
go2rtc, which stalls while it sets up TURN relays with the cloud ICE
servers, so filtering in the browser does not help.
- Start HLS and WebRTC together again, remove the per-camera WebRTC-first
memory and its 12 second HLS delay.
- Retry a WebRTC stream at most once, only after it played or on a backend
error. A new connection that gets no answer or finds no path fails
directly, so HLS or MJPEG takes over.
* Ignore stream URL errors of a removed HLS player
Switching cameras while the old HLS player was still fetching its stream
URL could mark HLS as failed for the new camera.
The headline and supporting text of ha-row-item are truncated to one
line. Many pages overrode that with white-space rules on the headline
and supporting-text parts.
Add the wrap-headline and wrap-supporting-text attributes and use them
in place of those CSS overrides.
Co-authored-by: Claude Fable 5.2 <[email protected]>
* Suggest area icons from the room in the area name
* Fix stale icon list, closed dialog and AI icon override
* Keep an untouched area dialog clean after the icon prefill
* Keep the suggested section visible when a suggested icon is selected
* Move area icon keywords to the translations
* Move room keywords to a shared translation key
* Remove home cinema and gym from the room list
* Note the Lokalise draft effect of editing room keywords
* Ship room keyword drafts and group keywords under rooms.keywords
* Add more room types for area icon suggestions
* Fetch room keyword drafts through the Lokalise keys API
The dialog waited for the companion app's commission finish message on
every step, but only the app's own flow sends it. Steps that commission
through core or another app now advance as soon as the device appears.
A failed finish message after the device appeared also advances now.
The new device watcher unsubscribed twice after a find, which dropped
another subscriber from the device registry collection. After a few
adds the registry stopped updating and the dialog never saw the device.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Allow a few pixels of finger movement in the action handler
* Cancel the action handler press when the browser takes over the touch
The document scroll listener only hears the page itself, not nested
scrollers. pointercancel is composed and fires when the browser starts
scrolling a touch, so it covers those as well.
* Make camera WebRTC streams connect faster and more reliably
- Limit the ICE server URLs the browser uses to one STUN, one UDP TURN
and one TCP TURN URL per host. The last retry uses the full list.
- Start WebRTC first for cameras where it worked before in this browser,
with HLS as fallback after 12 seconds.
- Always prefer WebRTC over HLS once it plays.
- Restart a WebRTC stream up to two times when it fails, loses its
connection or does not connect in time, then report the failure so HLS
takes over.
- Fix the ICE candidates added to the offer.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
* Address review and connect the microphone over the known path
- Always forget a camera when WebRTC shows no video within the deadline.
- Fall back to MJPEG when a WebRTC only camera delivers audio but no
video.
- Keep using all ICE servers once a stream only loaded with them.
- Start the microphone connection with only the ICE servers the running
stream needs for its path.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
* Keep all ICE servers for a direct microphone path that needed them
Co-Authored-By: Claude Fable 5.2 <[email protected]>
* Improve microphone connection handling in WebRTC player
---------
Co-authored-by: Claude Fable 5.2 <[email protected]>
* Move energy settings from dialogs to an editor sidebar
Sources and devices on all energy configuration tabs now open in a
sidebar like automation steps, with the selected row highlighted and a
save button for unsaved changes. Cost tracking and power measurement type
use dropdowns, and the editor inputs are grouped with dividers. The energy
setup wizard keeps its dialogs, which now reuse the same editors.
* Read the energy editors' data from contexts
The energy editors, the power measurement config and the upstream device
picker consume contexts instead of hass, so the setup wizard dialog no
longer passes it. createConfigFlow, handleConfigFlowStep and
getSensorDeviceClassConvertibleUnits take callApi or callWS.
The sidebar slots the editor in, so switching to the bottom sheet keeps
unsaved changes, and the lists are inert while the editor saves.
* Confirm unsaved energy edits on the back arrow
The toolbar back arrow asks before discarding the editor's changes, like
the automation editor does, and the sidebar is inert while the editor
saves, like the lists.
* Edit energy sources and devices on pages of their own
Sources and devices open on a page with a back arrow, their name as the
title and the form in a card, instead of in a sidebar. The lists go back
to the centered column, and the energy setup wizard keeps its dialogs.
* Keep energy page saves and deletes apart
Save and Delete are disabled while the other runs, since both write all
preferences, and a page that was left no longer navigates when its save
or delete finishes.
* Migrate the image cropper dialog to cropperjs 2
Cropper.js 2 is a rewrite built on shadow-DOM custom elements: the v1
class API (getData, getImageData, getCroppedCanvas, the ready and crop
callbacks) and the cropper.css stylesheet no longer exist, so the plain
Renovate bump (#55562) fails type checking and every rspack build.
Render the v2 elements directly from the dialog template instead of
wrapping an <img>. The canvas has no intrinsic size, so decode the file
first and give the canvas the image aspect ratio; the image then fills
it exactly. Initialise after the dialog has finished its scale-in
animation, because the elements measure themselves with
getBoundingClientRect, and refit the image and selection when the
canvas is resized.
Keep the v1 behaviour the callers rely on: the selection cannot leave
the image or the visible canvas, the image cannot be moved or zoomed out
from under it (viewMode 1), resizing stops at 50px, the rounded preview
is CSS only so the exported file stays rectangular, and the export is
rendered at the source resolution. Dirty tracking compares the crop
rectangle in source image pixels, like getData() did in v1.
* Clamp cropper drags to the edge and show image load errors
Cropper.js 2 moves the selection and image in relative steps per pointer
event. Rejecting a step that crossed the image edge dropped its movement on
both axes, so on fast drags the selection fell behind the cursor and got
stuck along an edge, mostly with portrait images. Clamp moves, resizes and
image pans to the edge instead, as v1 did. Fixed-ratio resizes shrink
around the anchored side to keep the ratio.
Show an error alert when the picture cannot be decoded instead of an empty
dialog.
* Keep the Shift-locked aspect ratio when a free crop hits the edge
With a free aspect ratio, Shift locks the ratio during a resize. The
out-of-bounds correction clipped the proposal instead of scaling it, so
the selection lost that ratio at the image or canvas edge.
* Keep action controls in list rows reachable for screen readers
ha-list-item-button wrapped the whole row, including the start and end
slots, in its native button or link. Controls placed in those slots
were nested inside it and hidden from assistive technology.
Only the headline and supporting text are inside the native element now,
and its hit area is stretched over the row. Slotted controls sit above
it; icons, badges, text and empty dividers sit below, so they still
activate the row with native link behaviour.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Rebind the list row ripple when the control is replaced
Switching href swaps the inner <a> and <button>, and media browser rows
drop the control when not interactive. The ripple kept listening to the
removed element, so the new control had no hover or press feedback.
Render the ripple after the control and recreate it with the control.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Add option to duplicate dashboards
* Add error handling for missing dashboard config
Handle config not found error when fetching dashboard.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
---------
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* Drop hass from the target picker
getEntities takes an options object of separate values; ha-target-picker, ha-sources-picker, ha-selector-target and the exclusions controller consume contexts.
* Rerender the target picker only when a pending entity appears
Consume statesContext without @state and narrow a second consumer to the pending helper entity.
* Redraw target picker icons when the brands token arrives
Also refetch target selector entity sources after a reconnect, like the entity selector.
* Fix lazy context provider error and detached consumer handling
Retry failed subscriptions, drop consumers that left before the first value, and give config entry updates a new array.
* Reset config entries on a new snapshot
Replace the list when a resubscribe sends all entries again, and log failed subscriptions.
* Clear config entries on an empty snapshot
Core sends an empty list when no entries match the subscription.
* Add default option and icons to the entity type select
* Simplify the entity type select code
* Store the device class override separately from the effective class
* Show area in ZHA device bindings and neighbors
The 2026.11 naming change means device names no longer carry
their area, but the Manage Zigbee Device panel still showed only
the device name in two places, making identically named devices
indistinguishable:
- The Bindable devices dropdown in the Bindings tab now shows
the area as the option's secondary line.
- The Neighbors tab gains a sortable, filterable Area column.
Area resolution is shared in getZHADeviceAreaName(): it resolves
via the device registry (so child devices inherit their parent's
area, matching the ZHA network visualization) and falls back to
the area reported by ZHA itself.
* Address Copilot review: registry-authoritative area, memoize by registries
- Treat an existing device registry entry as authoritative: if it
has no effective area, the device has no area, even if ZHA still
reports one from its cached response. The ZHA area_id fallback
now applies only when the device has no registry entry at all,
so clearing a device's area no longer leaves stale area text.
- Narrow getZHADeviceAreaName() to take the area and device
registries instead of the whole hass object, and key the
Neighbors memo on those registries. Entity-state updates replace
hass, which rebuilt every neighbor row and reran table
sorting/filtering on unrelated updates.
* Use device picker for ZHA bindings
Co-authored-by: Copilot <[email protected]>
* Reuse getZHADeviceAreaName helper in other places that also did a similar registry lookup
---------
Co-authored-by: Copilot <[email protected]>
* Let browsers below the legacy floor continue at their own risk
Browsers below the floor get a "Continue anyway" button on the launch
screen instead of a dead end, e.g. for a wall dashboard. The warning returns
monthly, and from the first reminder on offers "Don't show again".
* Space the launch screen without max() on Chrome below 79
The launch screen's top spacer and OHF logo margins use max() with var()
inside. Chrome below 79 drops those after the cascade, leaving no margin,
so the logo touched the bottom edge (Chrome 67 to 78 are in the legacy
floor). Plain margins now come first, the max() rules behind @supports.
* Keep the browser warning up while the app loads
Once the user continued, the launch screen went blank until the legacy
build took over, which can take a while on these devices. Keep the message
and only drop the buttons.
* Say the browser is no longer supported instead of too old
With the option to continue it does run, so "too old to run Home Assistant"
contradicted the button. The same text now reads right before and after
continuing.
* Use a plain color for the launch screen buttons
Theme variables are not set yet while the launch screen shows, so
var(--primary-color) always fell back anyway.
* Add selection mode with bulk remove to the Marketplace repositories page
* Guard bulk remove against double clicks and drop stale selections
* Clear the table selection when a selected repository gets installed
* Restore the comments that still apply
* Use a Marketplace string for the bulk action menu
* Drop rendering-only tests
* Uncheck data table rows that can no longer be selected
* Use one Remove chip and let the table drop installed rows
---------
Co-authored-by: Aidan Timson <[email protected]>
* End the ZHA permit subscription when the search ends
* End the ZHA search when the connection drops
* Don't send a stale ZHA search after a reconnect
* Hold the last value across gaps in history graphs
* Hold values across gaps in every graph, without an opt-in
* Hold the real last state across gaps and keep their curves tight
* Only hold stretches the raw history was quiet for
* Keep the temperature forecast curving across gaps
* Decide which stretches to hold once, from the raw history
* Hold neither across unavailable states nor below the sampling frame
* Show which integrations use an integration loaded as a dependency
Some integrations, like Modbus, have no config flow and are loaded
because another integration lists them in its manifest dependencies.
The frontend treated these as YAML integrations. The integration page
told the user to configure it in configuration.yaml, and the dashboard
showed a YAML card for it.
The integration page now fetches the loaded manifests for integrations
without a config flow. If a loaded integration depends on the domain,
the page shows "Used by <integrations>" instead of the YAML text. The
dashboard does not show a YAML card for a domain that a loaded
integration depends on.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Show the integrations that use a dependency as linked cards
Replace the "Used by" text with a "Used by" section. It lists each
loaded integration that depends on this integration, with its logo and
a link to its integration page. The entries section shows "No entries"
instead of the YAML text for such an integration.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Show only the "Used by" section for a dependency
An integration that other loaded integrations depend on, and that has no
config entries, now shows only the "Used by" section. The page does not
show the empty entries section. It also does not show the "Add entry"
button, which only opens the "set up in YAML" dialog for these
integrations.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Match the demo Modbus and LoRaWAN manifests to core
Modbus and LoRaWAN have no config flow, and the integrations that use
them list them as dependencies. The demo now does the same, so their
integration pages show the "Used by" section.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Hide system integrations from the "Used by" section
System integrations, like Default Configuration, depend on many
integrations. Listing them in "Used by" does not help the user.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Read the dependents from the manifests context
The integration page now finds the integrations that depend on it from
the shared manifests context, instead of its own manifest/list call.
It subscribes to the context only for an integration without a config
flow, so other integration pages do not make the context fetch the
manifests.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Link the integration page to the integration's settings panel
The Connectivity settings panels, like Zigbee and Modbus, are not
reachable from the integration page unless the integration has a config
entry. A user that opens the integration page looks for these settings.
The integration page now shows a button that opens the panel of the
integration. The button uses the panel name from the Connectivity page.
LoRaWAN, Modbus, Radio frequency, and USB (Serial) are added to the map
of integrations with a panel.
An integration with a panel and no config flow does not show the
"Add entry" button. For these integrations, it only opens the "set up
in YAML" dialog, and the panel is where to set them up.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Hide the YAML texts for integrations set up in their panel
An integration with a settings panel and no config flow, like Infrared,
is set up in that panel. Its integration page told the user to set it up
in configuration.yaml. The page now shows only the settings button for
such an integration when it has no entries.
The demo Infrared and Radio frequency manifests now match core, so these
pages show it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Make the settings button primary when it is the only action
An integration that is set up in its panel shows no "Add entry" or
"Add device" button, so the settings button is its only action.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Show the settings button only when there are no entries
Each config entry row of an integration with a panel already has a
link to that panel, so the button repeats it on pages like Zigbee.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Link the MCP integration pages to the AI settings
The AI settings show how to connect to the MCP server and the URL of
each of its APIs. The MCP client and MCP server integration pages now
have an "AI settings" button that opens them. The button is the
primary action when the page has no "Add entry" button.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Scroll the AI settings to the MCP card from the MCP pages
The AI settings page now scrolls to the section named in the URL hash,
like the backup settings page. The "AI settings" button on the MCP
integration pages links to the MCP card, which is below the AI task
card.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Keep the demo route when opening the AI settings
The demo routes with the URL hash. The AI settings page cleared the
hash even when it did not name a section, so a reload of the demo lost
the page. It now clears the hash only after it scrolls to a section.
The "AI settings" button links to the page without a section in the
demo, because a link with a hash skips the demo route conversion.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Move the settings panel and MCP buttons to their own PRs
This PR keeps the "Used by" section for integrations that other
integrations depend on. The settings panel button and the MCP link to
the AI settings move to separate PRs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Load the Modbus dependents in the demo
The dashboard reads the dependencies of loaded integrations only. The
demo listed Modbus as loaded, but not Flexit, SolarEdge Modbus, and
Fronius, so it showed a YAML card for Modbus.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Sort the "Used by" list and wait for it before the YAML texts
The manifests come from a set in core, so their order can change
between restarts. The "Used by" list is now sorted by name.
Until the manifests load, the page does not know the dependents. It
showed the YAML texts and "Add entry" first and then replaced them with
"Used by". The page now holds back those texts and the button for an
integration without a config flow until the manifests load.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Apply review feedback
- Make the settings button primary whenever it is the only action,
like the MCP button. Thread, or MQTT with its one entry, have no
"Add entry" button.
- Set the demo LoRaWAN manifest to the service type, like core, so the
demo dashboard checks its dependents.
- Fix the punctuation of the YAML text.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Show the entries while the dependents load
The page waits for the manifests of the loaded integrations before it
shows the YAML texts. If that request fails, the wait never ends. Only
a page without entries can show "Used by", so only such a page waits.
A page with entries now shows them even when the manifests do not load.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
* Clear the manifest when the integration page changes domain
The integration page is reused when you follow a "Used by" link. It
kept the previous integration's manifest until the new one loaded, so
going back to Modbus from Flexit briefly showed "Add entry" and the
empty entries section. The page now clears the manifest on a domain
change, and a page without entries waits for the manifest before it
shows the YAML texts and "Add entry".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EzDS5Gc7EVw1NsLpEB7yza
---------
Co-authored-by: Claude <[email protected]>
Stop rounding and distorting integration icons on the area page
The generic img rule meant for the area picture also applied to the 24px
brand icons in the device list, clipping square integration logos (for
example Awair) into circles. Scope that rule to the area picture and size
the icons with width/height attributes like the device page does.
Co-authored-by: Claude Fable 5.1 <[email protected]>
* Only match an OTBR to a Thread network it is part of
findOTBRInfoForDataset returned the dataset's preferred border router
without checking that it is still on that network. When the border
router had moved to another network, the Thread panel offered to reset
it from the card of a network it no longer belongs to, which would
replace the border router's current network.
Require the extended PAN ID to match for the preferred border router
too, and drop the active dataset check in the network information page
that worked around the same problem.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Update findOTBRInfoForDataset tests for the network check
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Keep findOTBRInfoForDataset fallback tests independent of key order
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
End slider and color wheel interaction when a pan is cancelled
ha-control-slider and ha-hs-color-picker restored their value on
pancancel without firing an event, so consumers never learned that the
interaction ended. The light color pickers then kept ignoring state
updates until the next interaction. Fire the same end-of-interaction
event as panend (and as ha-control-scrubber already does), and restore
the wheel's local value along with its cursor position.
* Narrow helper create and area update data functions to the API they use
The create helper dialog can then pass the API context instead of the
full hass object.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eHviQBgc6SiiNrMfyY
* Consume contexts in helper forms instead of hass
The helper forms only read translations, locale and config, so they now
consume the internationalization and config contexts. This avoids
rerendering them on every unrelated hass change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eHviQBgc6SiiNrMfyY
* Consume contexts in the create helper dialog instead of hass
The dialog reads translations, config, the API and the connection from
their contexts and no longer passes hass to the helper forms.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Kv7eHviQBgc6SiiNrMfyY
* Refactor API calls to use HomeAssistantApi for improved type safety and consistency across data handling
---------
Co-authored-by: Claude <[email protected]>
* Give automation editor rows a config path
Each list and row in the automation and script editor extends the path
of its ancestor with its own segment through a Lit context, e.g.
["actions", 0, "then", 1]. Rows that open in the sidebar register in a
per-editor registry by path, as groundwork to find the row a config path
belongs to, e.g. to point at an error in it.
Move the generic path type and helpers from the Lovelace editor to
common/util/config-path and use ConfigPath everywhere.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Test config path helpers on their own
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
The Settings > System menu said "Backups" while the page header said
"Backup". Reuse the caption key like the other system pages do, so
the two can't drift apart again.
* Add a health dialog to config entries
* Address review feedback
* Address review feedback
* Address review feedback
* Address review feedback
* Use the integration filter for the logs link
The helpers table lists disabled helpers, but its area filter left them
out, so a disabled helper without an area disappeared when picking
No area, and one in an area disappeared when picking that area. Match
the entities page, which already passes include-disabled-entities.
* Fix stale color sent after quick drag in light color pickers
When the color temperature slider is dragged and released within the
500 ms throttle window, the release handler skipped sending because the
picker value already equalled the final value, relying on the pending
throttled call. A state update from the leading throttled call then
reset the picker value (no longer interacting), so the trailing call
sent the stale initial value and the light ended up at the wrong color
temperature.
Cancel the pending throttled call on release and always send the final
value. Apply the same cancel to the RGB picker, where a pending trailing
call could send a stale color after the final one.
* Keep released value in light color pickers until state settles
After release, keep showing the released value for a short time and
ignore state updates in between, so that late state updates from calls
sent while dragging no longer make the slider jump back before the
final value is reported.
* Don't sync light color pickers while a new drag is active
If a new drag starts before the release hold of the previous one ends,
the hold timer must not overwrite the picker value with the reported
state, as that makes the control jump and lets a pending throttled call
send the older value. The release of the new drag starts a new hold.
* Address review: keep brightness normalization in sync, hold native input
Keep the brightness normalization of RGB-only lights in sync with the
reported state while the picker values are held (during a drag or the
release hold), as it is applied to the next color sent. Otherwise
successive color selections could dim the light repeatedly.
The native color input has no release event and sends throttled, so
refresh the release hold on every input. This keeps state updates from
calls sent while picking from overwriting the pending value.
* Use PendingValueSync in light color pickers and end interaction on release
Replace the fixed release hold timer with PendingValueSync, so state
updates are ignored only while a call is queued or in flight. Also clear
_isInteracting in the release handlers, so a keyboard adjustment or a
cancelled pan no longer stops the picker from following the state.
* Configure remote Bluetooth adapters from the adapters page
Remote scanners such as ESPHome Bluetooth proxies have their scanning
mode and other settings in the options flow of the integration that
provides them. Show the configure button for remote adapters on the
Bluetooth adapters page and open that integration's options flow, found
through the scanner device's via device, so users no longer have to find
the device under Devices & services.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ALzdAQkZAy37oGWd7GMtbQ
* Prefer the providing integration's device when finding the source entry
Other integrations may add config entries to the scanner's own device,
so look at the via device first and only fall back to the scanner's
device.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ALzdAQkZAy37oGWd7GMtbQ
* Only use the via device and skip disabled source entries
Drop the fallback to the scanner's own device, which could pick up an
unrelated integration's entry, and don't offer to configure a remote
adapter whose providing config entry is disabled or has no options flow.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ALzdAQkZAy37oGWd7GMtbQ
* Check for a configurable source entry in the template
Keep _getSourceConfigEntry a plain lookup, as suggested in review, and
skip the cog for disabled or non-configurable source entries where it
is rendered.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ALzdAQkZAy37oGWd7GMtbQ
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-09 16:10:41 +01:00
698 changed files with 34971 additions and 14747 deletions
@@ -28,10 +28,18 @@ AI can be a helpful tool for writing code and documentation. However, due to the
All contributions must be reviewed and understood by the contributor before submission. You should be able to explain every change in a pull request you submit. Pull requests that appear to be unreviewed AI output will be closed without review.
## Design contributions
AI can be a helpful tool to explore ideas and build mockups and prototypes. But AI tends to give the most common answer, not the one that fits Home Assistant and its users. So we require a human who brings the point of view and owns the design decisions.
You should be able to explain the problem your design solves and why you made your choices. If a mockup or prototype was mostly generated with AI, say so when you share it. Check your work against the [design guidelines](https://contributors.home-assistant.io/design/), as AI tools often make up components, colors, or spacing that don't exist in Home Assistant. Design proposals that look like unreviewed AI output may be closed or hidden.
## Our use of AI
Some of our projects use AI tools to assist with code reviews, issue triaging, reporting, and other project management tasks. These tools may leave comments on pull requests or issues. As with any automated tooling, these comments are not always correct.
We also use AI to help keep the design system, the Figma kit, and the code in sync. The design decisions behind them are made by people.
If an AI tool leaves a comment on your contribution, treat it as you would any other review comment. If you believe it is incorrect, say so; a brief explanation is sufficient. Maintainers always have the final say. If in doubt, ask a maintainer.
subtitle: Can be used to indicate an ongoing task.
---
`ha-spinner` is `hac-spinner` from `@home-assistant/components`.
## Accessibility
`ha-spinner` is exposed to screen readers as a `progressbar` named with the translated "Loading". When the surrounding text does not already say what is in progress, name it with a translated `accessible-label`, like "Installing update", rather than its state.
"With select-mode set to point, a click selects the hour that contains it, and everything outside fades. Dragging still zooms.",
statistics:{[HEAT_PUMP_ID]:HEAT_PUMP},
statTypes:["change"],
chartType:"bar",
unit:"kWh",
selectMode:"point",
hint:"Click on a bar to select its hour.",
},
{
id:"range-bar",
title:"Range selection on bars",
description:
"With select-mode set to range, dragging selects a time range instead of zooming, so several bars can be selected at once. A click still selects one bar.",
statistics:{[HEAT_PUMP_ID]:HEAT_PUMP},
statTypes:["change"],
chartType:"bar",
unit:"kWh",
selectMode:"range",
hint:"Click or drag on the chart to select one or more bars.",
},
{
id:"range",
title:"Range selection on lines",
description:"The same on a line chart.",
statistics:{[LIVING_ROOM_ID]:LIVING_ROOM},
statTypes:["mean","min","max"],
chartType:"line",
unit:"°C",
selectMode:"range",
hint:"Click or drag on the chart to select a period.",
},
];
constformatRange=(range: TimeRange)=>
`${newDate(range.start).toLocaleString()} to ${newDate(range.end).toLocaleString()}`;
Loaded 100 of 698 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.