-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix demo map panel #21265
Fix demo map panel #21265
Conversation
WalkthroughWalkthroughThis update introduces a new function Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant MockLovelaceFunction
participant EntitiesModule
participant LovelaceConfigHandler
Client->>MockLovelaceFunction: Request lovelace/config with url_path
alt url_path is "map"
MockLovelaceFunction->>EntitiesModule: Call mapEntities()
EntitiesModule-->>MockLovelaceFunction: Return entities
MockLovelaceFunction->>Client: Return strategy { type: "map" }
else url_path is not "map"
MockLovelaceFunction->>LovelaceConfigHandler: Resolve configuration and localization
LovelaceConfigHandler-->>MockLovelaceFunction: Return lovelace config
MockLovelaceFunction->>Client: Return resolved config
end
Tip AI model upgrade
|
Proposed change
Fixes the demo map panel and migrates it to the new lovelace strategy panel.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed:
Summary by CodeRabbit
New Features
Bug Fixes
component_name
andconfig
properties in demo panels to ensure proper component rendering.