Home dashboard settings: group summaries#51493
Draft
pcan08 wants to merge 18 commits intohome-assistant:devfrom
Draft
Home dashboard settings: group summaries#51493pcan08 wants to merge 18 commits intohome-assistant:devfrom
pcan08 wants to merge 18 commits intohome-assistant:devfrom
Conversation
Add a toggle in the edit overview dialog to show or hide the "Welcome, [user]" greeting header on the home overview page, following the same pattern as the existing summary enable/disable. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The welcome message is a greeting header, not a summary card, so it now lives in a separate "Greeting" section above the "Summaries" section. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace manual label/ha-switch markup with ha-form using a boolean selector for better accessibility and consistency with the rest of the codebase. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a toggle in the Overview edit dialog to show or hide the usage-predicted entities that fill remaining slots alongside favorites. When disabled, the usage prediction fetch is skipped entirely. The favorites entities helper text is updated to no longer reference suggestions, which now have their own dedicated toggle and description. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the raw <p class="section-description"> with ha-input-helper-text for the suggested entities toggle description, using the proper HA component for helper text styling instead of custom CSS. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Aligns with the hidden_summaries naming convention used elsewhere. Logic is inverted accordingly: undefined means shown (default), true means hidden. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the manual label+switch+helper-text with ha-form using a boolean selector. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Drop unused schema parameter from computeLabel/computeHelper callbacks and shorten the label from "Show suggested entities" to "Suggested entities" since the boolean checkbox already conveys the enabled/disabled intent.
Wrap ha-entities-picker and the suggested entities boolean in an outlined ha-expansion-panel with a star-outline icon. Move the welcome message toggle above the panel. Use "Favorite entities" as the panel header and remove the redundant picker label. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Move inner padding from --expansion-panel-content-padding to a wrapper div, matching the ha-form-expandable pattern, so no content is visible when the panel is collapsed.
Wraps the summaries section in an `ha-expansion-panel` (outlined, expanded by default) consistent with the favorite entities panel. The section description is surfaced via the panel's `secondary` property so it remains visible even when collapsed. Dead CSS rules for `.section-header` and `.section-description` are removed, and an adjacent-sibling selector adds spacing between the two panels. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
Group summaries toggles in expandable panel following same pattern as done in #51407 with favorite entities settings.
Note that I started this PR on commit e37a17c of PR #51407 so it needs it to be merged, then I'll rebased onto dev. That is why Is set this PR as draft.
Screenshots
Type of change
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed:
To help with the load of incoming pull requests: