Skip to content

Conversation

@piitaya
Copy link
Member

@piitaya piitaya commented Nov 7, 2025

Proposed change

This PR extracts duplicate view navigation logic from hui-root and panel components into a new reusable hui-lovelace component so we can introduce a new home panel with multiple views.

Also the following panels has been migrated : security, light and climate.

This new panel will need a core change to register home panel on the frontend integration (home-assistant/core#156269).

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

Example configuration

Additional information

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

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

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

Comment on lines +99 to +102
const config = await generateLovelaceDashboardStrategy(
HOME_LOVELACE_CONFIG,
this.hass
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be some error handling here or it will fail silently. I had this issue on the energy dashboard somewhere

Copy link
Member Author

@piitaya piitaya Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the strategies fail silently, we should fix that. I will do error handling in a future PR.

@piitaya piitaya marked this pull request as ready for review November 10, 2025 16:43
Copy link
Contributor

@silamon silamon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translations are still missing in the alert.

Comment on lines +127 to +128
title: "Edit mode not available",
text: "The Home panel does not support edit mode.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not translated

Copy link
Member Author

@piitaya piitaya Nov 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that will change for the release. We will provide a basic editor to edit favorite entities. I added a comment in the code for that 👍

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.

4 participants