Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
08507dd
Add design spec for synthetic history generation
cayossarian Mar 26, 2026
b6d8bff
Address spec review findings for synthetic history generation
cayossarian Mar 26, 2026
769cfca
plan: synthetic history generation implementation plan
cayossarian Mar 26, 2026
937174d
feat: add SqliteHistoryProvider for local history replay
cayossarian Mar 26, 2026
37c1aa9
feat: add history_db field to PanelConfig for explicit SQLite path
cayossarian Mar 26, 2026
3744e4c
Wire SqliteHistoryProvider into app.py startup as second history source
cayossarian Mar 26, 2026
704b937
feat: add SyntheticHistoryGenerator for companion SQLite history data…
cayossarian Mar 26, 2026
f3ea36b
feat: add standalone CLI for synthetic history generation
cayossarian Mar 26, 2026
2939f3d
feat: generate synthetic history DB on clone-from-panel
cayossarian Mar 26, 2026
1a29c56
feat: add end-to-end round-trip tests for synthetic history pipeline
cayossarian Mar 26, 2026
6308932
fix: address code review findings for synthetic history
cayossarian Mar 26, 2026
def64b7
fix: generate history after profile import so recorder_entity mapping…
cayossarian Mar 26, 2026
fe25f5d
fix: derive recorder_entity for configs without HA, generate history …
cayossarian Mar 26, 2026
a029ec3
fix: fall through to SQLite when HA returns no recorder data
cayossarian Mar 26, 2026
24b2276
debug: show JS error message in modeling view catch block
cayossarian Mar 26, 2026
3231207
fix: BSEE schedule always authoritative for discharge/idle hours in m…
cayossarian Mar 26, 2026
e0fddc5
fix: BSEE schedule always authoritative, apply BESS to both Before an…
cayossarian Mar 26, 2026
58ba561
fix: add battery trace to Before chart with separate battery_power_be…
cayossarian Mar 26, 2026
46fbf8f
fix: Before chart only includes BESS when battery was in original rec…
cayossarian Mar 26, 2026
cde9897
fix: Before pass uses recorder battery data directly, no BSEE special…
cayossarian Mar 26, 2026
fe3bfeb
fix: After pass battery sign matches Before convention — negate raw p…
cayossarian Mar 26, 2026
353f6fc
fix: After pass skips BSEE when battery unchanged, fix SOE sign handling
cayossarian Mar 26, 2026
ff0f8d7
fix: SYN→REC toggle works for template-cloned configs
cayossarian Mar 26, 2026
43f9abb
fix: BSEE always enforces schedule in After pass, zeros idle hours
cayossarian Mar 26, 2026
cf00ca6
fix: delete companion history DB when a clone config is removed
cayossarian Mar 26, 2026
8b475d5
fix: row buttons auto-switch active config so entity list stays in sync
cayossarian Mar 26, 2026
905f2e0
add CI for linting
cayossarian Mar 26, 2026
300aff4
update changelog
cayossarian Mar 26, 2026
8caad52
fix: address copilot review — derived count, XSS sink, deterministic …
cayossarian Mar 26, 2026
3e3cad4
update changelog
cayossarian Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint & Type Check

on:
pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install pre-commit
run: pip install pre-commit

- name: Cache pre-commit hooks
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Run pre-commit on all files
run: pre-commit run --all-files
Loading
Loading