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
Author
Show excluded EV charging estimates with a clock and explanatory tooltip. Switch navigation to the hamburger menu below 1080px and rebuild the frontend bundle. Fixes #14
…ure/modern-web-ui
Fix Octopus charge-to-add requests being interpreted as absolute car SOC targets. For charger-linked Intelligent Go accounts, retain the configured car SOC ceiling and follow Octopus dispatch energy. This prevents the car being incorrectly marked as fully charged when its SOC exceeds the requested percentage to add. Detect charger mode automatically from Octopus Direct’s is_charger attribute, with an optional per-car octopus_charge_limit_is_additive override. Preserve existing behaviour for absolute vehicle targets. Add documentation and regression tests for automatic detection, explicit overrides and repeated refreshes. Validation: focused tests and changed-file checks pass. Full-suite validation was blocked by environment restrictions and unrelated repository checks. Refs springfall2008#3034
…into feature/modern-web-ui
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.
Setting
web_ui: moderninapps.yamlserves the bundled modern interface. If the option is omitted or set tolegacy, Predbat continues to use the existing interface.The new interface includes:
Compatibility
apps/predbat/frontend.zip.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.
Only web_ui: modern is needed to select the modern interface. All additional Overview settings below are optional. Existing grid, solar, battery and household entities are reused automatically.
Existing integrations and defaults
Validation