Home dashboard: enable/disable entities suggestion#51407
Home dashboard: enable/disable entities suggestion#51407pcan08 wants to merge 17 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>
|
I propose to continue on this PR when #51401 is finished. |
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>
|
How it looks with current state of #51401
|
4bfb15a to
f6d2bdb
Compare
|
Now that #51401 is merged, I merged dev into this PR, but I have some concerns: shall we keep welcome message switch between favorites picker and suggested entities switch ? maybe move welcome message switch above favorites picker is more appropriate |
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.
|
I'll give a try to expandable section, I am agree that we should group them. |
|
Label: Suggested entities That may work. |
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>
|
Note that I use Also note that there is no space between switch label and entities picker, this is due the helper text which is on 2 lines in ha-form. I guess this is a ha-form issue. I think we should also group switches for summary cards in another PR. |
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.


Proposed change
Add the capability to enable/disable suggested/predicted entities that are next to the favorites entities. Inspired by #51392 like #51401
The goal is to not show these entities if the user does not want to see them without taking control of the dashboard, so that if the dashboard have update the user can have them.
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: