Repository navigation
Conversation
Added instructions for testing the UI in Predbat.
Corrected typo in README regarding editing apps.yaml.
Add dashboard cards and improve plan timeline
Codex/modern UI v9.2
added 10 commits
October 24, 2026 20:20
Author
|
Those changes all make sense to me, I’ve implemented them all:
I’ve tested this in Home Assistant. All 100 frontend tests and the focused backend tests pass, and a clean build reproduces the committed assets exactly. |
This branch has not been deployed
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.
Summary
Adds an optional modern web interface for Predbat, with responsive layouts, light and dark themes, and navigation between Overview, Dashboard, Plan, Charts, Compare, configuration and system pages.
Both interfaces run together: the classic pages keep their existing paths, and the modern interface is available under
./ui/. Select Try the new interface in the classic menu or Classic interface in the modern menu. The browser remembers the choice for this installation; no configuration change or restart is needed.The new interface includes:
Compatibility
apps/predbat/predbat_ui*files.apps.yamlconfigurations remain supported.frontend/.Configuration
Add the relevant settings to your existing pred_bat: section in apps.yaml. Replace the example entity IDs with your own.
No
web_uisetting is needed. All additional Overview settings below are optional. Existing grid, solar, battery and household entities are reused automatically.Existing integrations and defaults
Packaging and delivery
sharpdependency are removed.predbat_ui*files with fixed names and rejects empty chunks/assets. No zip is shipped.FileResponsesupplies ETag/Last-Modified and conditional responses, withCache-Control: no-cacheand compression for text assets.npm ci, tests and a build, then checks for changed or untracked generated files.coverage/deploycopiespredbat_ui*./legacy_*aliases and chart-path switch are removed. Modern UI guidance is in final sections of the web-interface and apps.yaml documentation.Validation
Frontend CI passed on both fork repositories at
a1c64357. The upstream pull request workflows are awaiting maintainer approval.