* Create shared related context for quick bar and add automation element
* Provider mixin and dont pass sets when context can be used
* Direct use consume
* Move context provider into class and use in context mixin
* Cleanup
* Match signatures with lazy context provider
* Fix order of operations
* Typing
* Fix popstate on dialog launch/close
* Typing improvement
Consume internationalizationContext for locale in ha-selector-date,
ha-selector-datetime, ha-selector-time, ha-selector-button-toggle, and
ha-selector-select (partial: hass kept where passed to children).
* Migrate hui-badge-edit-mode and hui-card-edit-mode to localize context
Replace this.hass.localize with @consumeLocalize(); remove hass prop and
caller .hass bindings from Lovelace edit-mode overlays.
* Migrate hui-view-badges to localize context
* Migrate avatar badges off hass property (Group K)
Consume connectionContext for hassUrl and statesContext plus
consumeEntityState for the user badge person entity picture.
Remove .hass bindings from callers.
* Migrate ha-person-badge and ha-user-badge to connection context
Use connectionContext for hassUrl; ha-user-badge also consumes entity state
for person picture lookup.
* Fix ha-user-badge updates and restore hass binding
Use PropertyValues.has() to detect _states changes. Restore .hass bindings on
ha-user-picker callers and ha-generic-picker, which still require hass.
* Fix type error and restore hass on person subpage
- Type willUpdate with PropertyValues so changedProps.has("_states")
type-checks (matches the other states-context consumers); fixes the
failing lint:types CI check
- Restore .hass on hass-tabs-subpage in ha-config-person, which still
requires hass and was crashing the person config page
- Drop now-dead .hass bindings on ha-user-badge in ha-user-picker
- Only rescan for the person entity when the user changes or the tracked
entity is missing, instead of on every state update
Order the energy fields as discharge then charge to match the power
fields in the energy panel battery settings dialog.
Co-authored-by: MindFreeze <noreply@anthropic.com>
* Migrate ha-relative-time and ha-absolute-time off hass property
Consume localize, locale, and config via Lit context so time primitives
only rerender when i18n or config slices change, and drop obsolete .hass
bindings from callers.
* Consume full i18n context in time display components
Use internationalizationContext directly for both localize and locale in
ha-relative-time and ha-absolute-time, avoiding mixed consumption patterns.
* Render echarts tooltips with Lit templates
Replace raw HTML string interpolation in echarts tooltip formatters with Lit templates so user-controlled fields (entity friendly_name, device names, node labels) are auto-escaped instead of relying on per-string filterXSS. ha-chart-base now wraps any function tooltip.formatter into a stable per-formatter container and handles Lit TemplateResult / nothing / null returns; the public HaECOption type lets charts express Lit-returning formatters without per-callsite casts.
* Simplify
* Refactor _getSeries
* Small fix
* Fix merge mistake
* Marker component and wrapper test
Resending the confirmation email reused the registration code path, so
the flash on the login screen said "Account created!" even though no
new account was created. Pass a message key to _verificationEmailSent
so resend can show "Verification email sent." instead.
_handleResendVerifyEmail also never set _requestInProgress, so the
resend button (and the start-trial button, which share that flag) were
not disabled while a resend was in flight and could be clicked
repeatedly. Set the flag at the start and clear it on terminal errors;
_verificationEmailSent already clears it on success.
Co-authored-by: Claude <noreply@anthropic.com>