Skip to content

Home dashboard settings: group summaries#51493

Draft
pcan08 wants to merge 18 commits intohome-assistant:devfrom
pcan08:home-dashboard-group-summaries-settings
Draft

Home dashboard settings: group summaries#51493
pcan08 wants to merge 18 commits intohome-assistant:devfrom
pcan08:home-dashboard-group-summaries-settings

Conversation

@pcan08
Copy link
Copy Markdown
Contributor

@pcan08 pcan08 commented Apr 9, 2026

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

image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to backend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

To help with the load of incoming pull requests:

pcan08 and others added 18 commits April 3, 2026 17:38
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>
@pcan08 pcan08 changed the title DRAFT - Home dashboard settings: group summaries Home dashboard settings: group summaries Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant