Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
507 commits
Select commit Hold shift + click to select a range
e1f407d
fix: update frontend dist with standalone card graph horizon fixes
cayossarian Mar 31, 2026
71832b2
fix: update frontend dist with Y-axis precision fix
cayossarian Mar 31, 2026
616a1e8
fix: update frontend dist with Y-axis decimal label fix
cayossarian Mar 31, 2026
72f8ba0
feat: add 1-week graph horizon scale and update frontend dist
cayossarian Mar 31, 2026
286a44c
Remove dead code from helpers.py and config_flow_options.py, add vulture
cayossarian Mar 31, 2026
6d2f184
bump span-panel-api to 2.4.2 and span-panel-simulator to 1.0.10
cayossarian Mar 31, 2026
0462dae
Add vulture dead code check to pre-commit hooks
cayossarian Mar 31, 2026
9eeae4e
fix: parenthesize except clause for multi-exception catch
cayossarian Mar 31, 2026
a6de06c
fix: add http to manifest dependencies
cayossarian Mar 31, 2026
624c8dc
fix: add all component dependencies to manifest
cayossarian Mar 31, 2026
883428c
fix: sort manifest keys alphabetically per hassfest
cayossarian Mar 31, 2026
0a65caa
fix: update frontend dist with statistics timestamp fix
cayossarian Mar 31, 2026
ead0bdc
fix: add cache busting to frontend panel URL
cayossarian Mar 31, 2026
16ff5a2
fix: address PR review feedback from Copilot
cayossarian Mar 31, 2026
673bf08
feat: add always_on and priority to websocket topology response
cayossarian Mar 31, 2026
c8bc54f
feat: update frontend dist with priority icon rendering
cayossarian Mar 31, 2026
23e629b
fix: move frontend file hash to executor to avoid blocking event loop
cayossarian Mar 31, 2026
64209ab
fix: resolve unawaited coroutine warnings in tests
cayossarian Mar 31, 2026
c0ea915
feat: update frontend dist with segmented horizon bar
cayossarian Mar 31, 2026
f18d802
bump span-panel-api version
cayossarian Mar 31, 2026
d64838c
bump span-panel-api version
cayossarian Mar 31, 2026
aa41a08
feat: adopt relay_state_target and priority_target from span-panel-ap…
cayossarian Mar 31, 2026
bdf43ec
fix: use battery icon for never shedding priority
cayossarian Mar 31, 2026
5984e73
feat: update frontend dist with shedding priority legend
cayossarian Mar 31, 2026
cb75f83
ignore ai tools
cayossarian Apr 1, 2026
d160759
Update frontend dist with lifecycle visibility fixes
cayossarian Apr 1, 2026
36addf0
fix: add trailing newline to manifest.json
cayossarian Apr 1, 2026
992f88a
update developer artifacts
cayossarian Apr 1, 2026
59af2db
bump version to v2.5.1
cayossarian Apr 1, 2026
7b27536
bump span-panel-api to 2.5.1
cayossarian Apr 1, 2026
aa7d84a
feat: update frontend dist with HA native panel layout
cayossarian Apr 1, 2026
0a5370e
fix: update frontend dist with chart refresh and registration fixes
cayossarian Apr 1, 2026
b893dbe
add fixed switch bound
cayossarian Apr 1, 2026
437d0ab
format and ammend devloper.md for .env
cayossarian Apr 1, 2026
2541cd4
Replace async_request_refresh with optimistic state update after relay
cayossarian Apr 1, 2026
6b1a180
Auto-register span-panel-card as a Lovelace resource from integration…
cayossarian Apr 1, 2026
4fb354a
fix: update frontend dist with responsive layout fix
cayossarian Apr 1, 2026
5c77e92
fix: update frontend dist with flex-wrap responsive header
cayossarian Apr 2, 2026
82dcf54
feat: update frontend dist with graph settings side panel
cayossarian Apr 2, 2026
8b3f28c
fix: update frontend dist with full-width panel layout
cayossarian Apr 2, 2026
b1f72de
fix: update frontend dist with proportional chart scaling
cayossarian Apr 2, 2026
5bdeccf
feat: update frontend dist with sub-device layout changes
cayossarian Apr 2, 2026
e96354b
feat: add sub-device horizon overrides to GraphHorizonManager
cayossarian Apr 2, 2026
96e6dc1
feat: register sub-device graph horizon services
cayossarian Apr 2, 2026
130c4f0
feat: update frontend dist with sub-device horizon support
cayossarian Apr 2, 2026
3e6190b
fix: resize sub-device charts when browser window changes width
cayossarian Apr 2, 2026
586b5ac
fix: update frontend dist with header layout and chart fixes
cayossarian Apr 2, 2026
45c2676
add dashboard material
cayossarian Apr 2, 2026
aca701e
Add dashboard aterial
cayossarian Apr 2, 2026
acbbdeb
update CHANGELOG.md for span-panel-api bump
cayossarian Apr 2, 2026
a57deba
fix: translate untranslated service strings and correct type annotations
cayossarian Apr 2, 2026
cf8f29a
update the dist files
cayossarian Apr 2, 2026
48d6ff4
update .gitignore for docs
cayossarian Apr 2, 2026
346716b
refactor: extract frontend.py from __init__.py
cayossarian Apr 2, 2026
237975e
fix: use deferred package imports in frontend.py for test patchability
cayossarian Apr 2, 2026
717f7e7
refactor: extract migrations.py from __init__.py
cayossarian Apr 2, 2026
da8a5b3
refactor: extract services.py from __init__.py
cayossarian Apr 2, 2026
ec4a877
refactor: extract id_builder.py from helpers.py
cayossarian Apr 2, 2026
3510d08
refactor: extract entity_resolver.py from helpers.py
cayossarian Apr 2, 2026
ad4dffd
refactor: extract threshold_evaluator.py from current_monitor.py
cayossarian Apr 2, 2026
88431be
refactor: extract alert_dispatcher.py from current_monitor.py
cayossarian Apr 2, 2026
0f63277
refactor: extract grace_period.py from sensor_base.py
cayossarian Apr 2, 2026
cf0d2a5
refactor: extract energy_dip.py from sensor_base.py
cayossarian Apr 2, 2026
8247013
update dist files
cayossarian Apr 2, 2026
54a418f
fix: remove dead code from config flow
cayossarian Apr 2, 2026
110079f
fix: config flow i18n, docs typos, and lint config
cayossarian Apr 2, 2026
447112b
fix: handle detect_api_version errors, preserve tracebacks, fix typos
cayossarian Apr 2, 2026
f4b5fbb
update dist files
cayossarian Apr 2, 2026
b65a0c6
fix: add reauth_confirm step for v1→v2 upgrade flow
cayossarian Apr 2, 2026
dab541e
fix: show auth method menu directly in reauth flow
cayossarian Apr 2, 2026
7e58c7b
instruct agents to host plans in SpanPanel_Docs
cayossarian Apr 2, 2026
1d35092
fix: remove return_response from void service calls in side panel, gu…
cayossarian Apr 2, 2026
71ac884
feat: add visual preview with mini charts to card picker
cayossarian Apr 2, 2026
f10561f
fix: seed monitor snapshot on enable, hide card monitoring toggle
cayossarian Apr 2, 2026
d9511ba
fix: restore solar entity migration for v1.3.1 → v2.0.5 upgrades
cayossarian Apr 2, 2026
4bf9132
fix: return numeric dip attrs, harden sync_translations path display
cayossarian Apr 2, 2026
473b577
update the dist files for frontend changes
cayossarian Apr 2, 2026
9a8a644
fix: update dist with custom element registration guard
cayossarian Apr 3, 2026
5276e61
update the changelog for the 2.0.5 release
cayossarian Apr 3, 2026
f97df34
fix: add missing cooldown_duration_m to service UI and use UTC-aware …
cayossarian Apr 3, 2026
70dc03f
update dist frontend files
cayossarian Apr 3, 2026
65f83ab
refactor: unify notification targets and add test notification service
cayossarian Apr 3, 2026
c8c4bee
fix: update dist with panel shell rebuild after browser backgrounding
cayossarian Apr 3, 2026
fb40805
Add PR review instructions
cayossarian Apr 3, 2026
a39fba7
fix: address Copilot review feedback for docstring and import path
cayossarian Apr 3, 2026
051da91
update dist frontend files
cayossarian Apr 3, 2026
9556c41
fix: add and format GitHub Copilot review instructions
cayossarian Apr 3, 2026
ace3284
fix: resolve monitoring status key mismatch with frontend lookup
cayossarian Apr 3, 2026
44edd7f
Format changelog for 2.0.5 release
cayossarian Apr 3, 2026
2d49c6e
feat: add {local_time} template variable to alert notifications
cayossarian Apr 3, 2026
0be1767
feat: include {local_time} in default notification message template
cayossarian Apr 3, 2026
71b2fb1
update monitoring docs
cayossarian Apr 3, 2026
42a0af9
Merge remote-tracking branch 'origin/main' into 2.0.5
cayossarian Apr 3, 2026
212c534
update dist for frontend code
cayossarian Apr 3, 2026
b5f90a3
Merge pull request #207 from SpanPanel/2.0.5
cayossarian Apr 3, 2026
fcda9fd
deps(deps-dev): bump the dev-dependencies group across 1 directory wi…
dependabot[bot] Apr 3, 2026
6cfd7de
Merge pull request #208 from SpanPanel/dependabot/pip/dev-dependencie…
github-actions[bot] Apr 3, 2026
7a0f2e2
restore BESS deep dive
cayossarian Apr 3, 2026
3ef3356
bump stub and custom integration test for HA
cayossarian Apr 3, 2026
6355f0b
Merge pull request #209 from SpanPanel/fix/2_5_0_artifacts
cayossarian Apr 3, 2026
16b363e
Merge branch 'main' into dependabot/github_actions/codecov/codecov-ac…
cayossarian Apr 3, 2026
24c0bc8
Merge pull request #205 from SpanPanel/dependabot/github_actions/code…
cayossarian Apr 3, 2026
df45cc5
use step interpolation for chart fidelity, linear for continuous signals
cayossarian Apr 5, 2026
a1eab58
Merge pull request #210 from SpanPanel/fix/graph_fidelity
cayossarian Apr 5, 2026
f398c3c
add changelog entry for 2.0.6 graph fidelity fix
cayossarian Apr 5, 2026
49fb911
ci(deps): bump dependabot/fetch-metadata from 2.5.0 to 3.0.0
dependabot[bot] Apr 6, 2026
97c2c12
Merge pull request #212 from SpanPanel/dependabot/github_actions/depe…
github-actions[bot] Apr 6, 2026
5559e1e
fix: handle missing circuits in partial MQTT snapshots
cayossarian Apr 6, 2026
7cf71a9
refactor: extract shared circuit data source lookup and refine changelog
cayossarian Apr 7, 2026
f63ba3b
bump span-panel-api to 2.5.2
cayossarian Apr 7, 2026
734c0b8
bump version to 2.0.6
cayossarian Apr 7, 2026
c5e4fda
Merge pull request #217 from SpanPanel/fix/temp_missing_circuit
cayossarian Apr 7, 2026
59d99d2
deps(deps-dev): bump homeassistant-stubs in the dev-dependencies group
dependabot[bot] Apr 7, 2026
927ce24
Merge pull request #213 from SpanPanel/dependabot/pip/dev-dependencie…
github-actions[bot] Apr 7, 2026
3eabdc5
bump pytest-homeassistant-custom-component from 0.13.320 to 0.13.322
cayossarian Apr 7, 2026
8120194
Merge pull request #218 from SpanPanel/bump-pytest-custom-component
cayossarian Apr 7, 2026
6b1cfe4
bump span-panel-api version to 2.5.3
cayossarian Apr 9, 2026
3f2ef0b
add temporary script for fix spikes
cayossarian Apr 9, 2026
d288d58
Merge pull request #219 from SpanPanel/fix/bump-api-snapshot-fix
cayossarian Apr 9, 2026
0c45d7c
reeword the readme to avoid overlap.
cayossarian Apr 9, 2026
7f34e64
bump span-panel-api to 2.5.4
cayossarian Apr 10, 2026
f02c1da
Merge pull request #220 from SpanPanel/fix/bump-api
cayossarian Apr 10, 2026
e46c896
update change log
cayossarian Apr 10, 2026
8afa2f9
deps(deps): bump the dev-dependencies group with 6 updates
dependabot[bot] Apr 13, 2026
28ebdb9
Merge pull request #222 from SpanPanel/dependabot/pip/dev-dependencie…
github-actions[bot] Apr 13, 2026
748e398
deps: sync HA core to 2026.4.2 and group coupled deps
cayossarian Apr 13, 2026
b4cb809
Merge pull request #223 from SpanPanel/fix/CI_custom_test_sync
cayossarian Apr 13, 2026
cfa069c
deps(deps-dev): update prek requirement in the dev-dependencies group
dependabot[bot] Apr 13, 2026
db2ceec
fix: update frontend bundles to LitElement (span-card 0.9.1)
cayossarian Apr 14, 2026
b67a6c8
build: update frontend bundles (loading state during discovery)
cayossarian Apr 14, 2026
cb7f30d
build: sync frontend bundle
cayossarian Apr 14, 2026
4835eb0
fix: restore cache_headers=True, hash-based cache busting is sufficient
cayossarian Apr 14, 2026
d1f0969
Merge pull request #225 from SpanPanel/fix/lit_migration
cayossarian Apr 14, 2026
449ab2a
Merge branch 'main' into dependabot/pip/dev-dependencies-e21f409ed8
cayossarian Apr 14, 2026
1a17c79
Merge pull request #224 from SpanPanel/dependabot/pip/dev-dependencie…
cayossarian Apr 14, 2026
0584c64
update the lock file
cayossarian Apr 14, 2026
40f6632
build: sync frontend bundles (panel reload fallback)
cayossarian Apr 14, 2026
103dc3b
build: sync frontend bundles (strip source map refs)
cayossarian Apr 14, 2026
1f9d8ca
Revert "build: sync frontend bundles (strip source map refs)"
cayossarian Apr 14, 2026
04d6490
Merge pull request #226 from SpanPanel/fix/panel-refresh
cayossarian Apr 14, 2026
2e5aaba
build: sync frontend bundles (span-card 0.9.2), update changelog
cayossarian Apr 14, 2026
078c8cc
Update frontend dist: XSS and error-handling fixes
cayossarian Apr 14, 2026
2e20213
build: sync frontend bundles (preserve search filter on re-render)
cayossarian Apr 14, 2026
1d242c4
Merge pull request #227 from SpanPanel/fix/activity-area
cayossarian Apr 14, 2026
ee3ecc1
feat: cross-panel Favorites services for circuits and sub-devices
cayossarian Apr 15, 2026
b3f21c7
build: sync span-card 0.9.3 bundles and document Favorites in changelog
cayossarian Apr 15, 2026
e8ddbdc
docs: document Favorites view in frontend.md and sync bundle
cayossarian Apr 15, 2026
57a44f6
build: sync span-card bundle (heart icon for Favorite section)
cayossarian Apr 15, 2026
2947dc7
fix: backend hardening from code review
cayossarian Apr 15, 2026
26bf1bf
language clarification for Favorites
cayossarian Apr 15, 2026
5e0309d
chore: ignore local .mcp.json
cayossarian Apr 15, 2026
6bbb2b7
build: sync span-card bundle (re-sort list view on hass updates)
cayossarian Apr 15, 2026
9f2794c
build: sync span-card bundle (compact expanded list rows)
cayossarian Apr 15, 2026
1790fc6
build: sync span-card bundle (enable slide-confirm in list views)
cayossarian Apr 15, 2026
85bcd4e
build: sync span-card bundle (favorites utilization %)
cayossarian Apr 15, 2026
ffef1ae
build: sync span-card bundle (move utilization % next to breaker)
cayossarian Apr 15, 2026
7978337
build: sync span-card bundle (By Panel utilization %)
cayossarian Apr 15, 2026
a7d7edb
build: sync span-card bundle (inline panel tabs)
cayossarian Apr 15, 2026
b289948
build: sync span-card bundle (drop Favorites title)
cayossarian Apr 15, 2026
86dceba
build: sync span-card bundle (toggle-pill + Favorites slider)
cayossarian Apr 15, 2026
3c97675
build: sync span-card bundle (favorites per-panel stats grid)
cayossarian Apr 15, 2026
84388f9
build: sync span-card bundle (stop double-rendering; fresh history on…
cayossarian Apr 15, 2026
b364b88
build: sync span-card bundle (list view columns setting)
cayossarian Apr 15, 2026
1a35391
build: sync span-card bundle (cell-constrained expansion in grid mode)
cayossarian Apr 15, 2026
864bbcd
build: sync span-card bundle (keep single-cell expand; sort still row…
cayossarian Apr 16, 2026
5ade487
build: sync span-card bundle (code-review followups: render tokens, k…
cayossarian Apr 16, 2026
c68ce16
build: sync span-card 0.9.4 bundle and update changelog reference
cayossarian Apr 16, 2026
7f98c1b
docs(frontend): document list view columns setting
cayossarian Apr 16, 2026
bd77931
Fix language to denote dashboard only release
cayossarian Apr 16, 2026
95efbac
build: sync span-card bundle (copilot review fixes)
cayossarian Apr 16, 2026
3a3bfcd
fix: README.md casing in changelog; update fr.json get_favorites desc…
cayossarian Apr 16, 2026
79ec78d
feat: include panel_status binary sensor in topology response
cayossarian Apr 16, 2026
36970f3
fix: preserve serial casing in panel_status lookup
cayossarian Apr 16, 2026
8402fa2
build: sync span-card bundle with error management changes
cayossarian Apr 16, 2026
52044cc
build: sync span-card bundle (final error management fixes)
cayossarian Apr 16, 2026
5f6432c
build: sync span-card bundle (retry removal from relay toggle)
cayossarian Apr 16, 2026
f07059c
build: sync span-card bundle (retry scoping refactor)
cayossarian Apr 16, 2026
bd58eed
build: sync span-card bundle (Copilot review fixes)
cayossarian Apr 16, 2026
dc2b25d
sync frontend: utilization pct fallback
cayossarian Apr 16, 2026
de65246
bump span-panel-api to 2.6.0
cayossarian Apr 16, 2026
a6d3e1b
feat(coordinator): wire broker-connection callback for sub-second off…
cayossarian Apr 16, 2026
a375071
refactor(coordinator): guard listener fan-out on real edge changes
cayossarian Apr 16, 2026
0d219ab
fix(types): resolve pre-existing strict-type issues
cayossarian Apr 16, 2026
ba611b4
refactor(coordinator): label SpanPanelStaleDataError as expected offl…
cayossarian Apr 16, 2026
b448b53
docs(changelog): note panel-offline status sensor fix in 2.0.6
cayossarian Apr 16, 2026
f5d3830
bump span-panel-api to 2.6.1
cayossarian Apr 16, 2026
93f8ce3
update changelog for span-panel-api version change
cayossarian Apr 16, 2026
3c1ba27
fix(frontend): remove config_panel_domain so Configure opens options …
cayossarian Apr 16, 2026
c7e59fc
fix: phase 1 — mechanical review fixes across services, typing, defaults
cayossarian Apr 17, 2026
44fcafb
build(frontend): sync dist bundle with span-card code-review fixes
cayossarian Apr 17, 2026
6ad4ef4
fix: unload platforms before shutting down coordinator (B1)
cayossarian Apr 17, 2026
eb25b8a
docs(id_builder): warn against normalising serial casing
cayossarian Apr 17, 2026
ea3311c
refactor(monitoring): narrow threshold/override dicts from Any to int…
cayossarian Apr 17, 2026
98558d1
feat(icons): add icons for 6 energy sensors (M16)
cayossarian Apr 17, 2026
322dbed
build(frontend): sync dist bundle with Favorites BESS chart fixes
cayossarian Apr 17, 2026
d65ac95
fix(favorites): route EVSE feed-circuit sensors to circuit, not sub-d…
cayossarian Apr 17, 2026
f243fe4
update the frontend dist files for the span panel card and span panel
cayossarian Apr 17, 2026
a59c4ba
build(frontend): sync dist bundle with Favorites Monitoring header fix
cayossarian Apr 17, 2026
b19d8f9
Merge pull request #228 from SpanPanel/feature/favorites-view
cayossarian Apr 17, 2026
d505f20
bump span-panel-api to 2.6.2
cayossarian Apr 17, 2026
b133a13
Merge pull request #229 from SpanPanel/bump/span-panel-api-2.6.2
cayossarian Apr 17, 2026
f561c52
Add span drive replacement to troubleshooting table
cayossarian Apr 17, 2026
2093284
build(frontend): sync dist bundle with Favorites visibility-recover fix
cayossarian Apr 19, 2026
57e159b
build(frontend): sync dist bundle with list-row gap fix
cayossarian Apr 19, 2026
2c7c0b8
build(frontend): sync dist bundle with list-power min-width removal
cayossarian Apr 19, 2026
63964fb
build(frontend): sync dist bundle with narrow-width fold layout
cayossarian Apr 19, 2026
1ded3f6
update changelog for row foldering for name preservation
cayossarian Apr 19, 2026
0b37b75
bump release version to 2.0.7
cayossarian Apr 19, 2026
4f76055
build(frontend): sync dist bundle with HA-component-free refactor
cayossarian Apr 19, 2026
65064dd
Merge refactor/drop-ha-frontend-deps into release/v2.0.7
cayossarian Apr 20, 2026
4c56e92
build(frontend): sync dist bundle with code-review followups
cayossarian Apr 20, 2026
a6a3ddb
fix(favorites): treat sub-device-attached entities as device favorites
cayossarian Apr 20, 2026
17e3c48
build(frontend): sync dist bundle with copilot review fixes
cayossarian Apr 20, 2026
8c8c2fd
docs(changelog): concise 2.0.7 notes for HA frontend-deps removal and…
cayossarian Apr 20, 2026
2c8e4ca
build(frontend): sync dist bundle with panel-grid gutter shrink
cayossarian Apr 20, 2026
46ab779
build(frontend): sync dist bundle with folded col-span row-height fix
cayossarian Apr 20, 2026
04f4c89
build(frontend): sync dist bundle with breaker-badge tightening
cayossarian Apr 20, 2026
d1d5714
build(frontend): sync dist bundle with copilot round-2 fixes
cayossarian Apr 20, 2026
0588bde
build(frontend): sync dist bundle removing custom-monitoring indicator
cayossarian Apr 20, 2026
206f9de
ci(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0
dependabot[bot] Apr 20, 2026
39b553c
Merge pull request #236 from SpanPanel/dependabot/github_actions/depe…
github-actions[bot] Apr 20, 2026
8e9fee9
deps(deps): bump the ha-core group with 3 updates
dependabot[bot] Apr 20, 2026
58b787f
bump span-panel-api to 2.6.3 and update changelog
cayossarian Apr 20, 2026
56fcdf4
Merge branch 'main' into dependabot/pip/ha-core-c3d1f2bfc5
cayossarian Apr 20, 2026
036a936
Merge pull request #237 from SpanPanel/dependabot/pip/ha-core-c3d1f2bfc5
github-actions[bot] Apr 20, 2026
ca1d3e0
Merge remote-tracking branch 'origin/main' into release/v2.0.7
cayossarian Apr 20, 2026
6b4804e
revert span-panel-api pin to 2.6.2 and remove Kirchhoff changelog entry
cayossarian Apr 22, 2026
efd1fb0
build(frontend): sync dist bundle with span-error-banner guard fix
cayossarian Apr 22, 2026
b43fbc6
build(frontend): sync dist bundle with blank-view band-aid removal
cayossarian Apr 22, 2026
9078566
deps(deps): bump the ha-core group with 3 updates
dependabot[bot] Apr 27, 2026
986cf1b
Merge pull request #238 from SpanPanel/dependabot/pip/ha-core-73953182ea
github-actions[bot] Apr 27, 2026
e30df5a
deps(deps): bump the dev-dependencies group with 6 updates
dependabot[bot] Apr 27, 2026
f92b2a7
Merge remote-tracking branch 'origin' into release/v2.0.7
cayossarian Apr 27, 2026
385d59b
fix(dip): restore compensation offset before coordinator listener reg…
cayossarian May 11, 2026
9560095
docs(changelog): clarify dip stats fix trigger as fast reconnect not …
cayossarian May 11, 2026
ad3afcd
fix(binary-sensor): show unknown state instead of unavailable when va…
cayossarian May 16, 2026
83fa595
update the date in the changelog
cayossarian May 16, 2026
804533e
Merge pull request #235 from SpanPanel/release/v2.0.7
cayossarian May 16, 2026
3d5dbb0
Merge branch 'main' into dependabot/pip/dev-dependencies-057fb39fbb
cayossarian May 16, 2026
dfb3843
Merge pull request #239 from SpanPanel/dependabot/pip/dev-dependencie…
github-actions[bot] May 16, 2026
6631fc0
update the lock file
cayossarian May 16, 2026
f2238e6
bump span-panel-api to 2.6.4 and start 2.0.8 changelog
cayossarian May 19, 2026
97a0241
bump the version to 2.0.8
cayossarian May 19, 2026
2dc4d24
Merge pull request #243 from SpanPanel/release/v2.0.8
cayossarian May 19, 2026
3230bc5
deps(deps): bump the ha-core group with 3 updates
dependabot[bot] May 25, 2026
ed79ca4
Merge pull request #244 from SpanPanel/dependabot/pip/ha-core-94760cd3f1
github-actions[bot] May 25, 2026
8291211
ci(deps): bump codecov/codecov-action from 6 to 7
dependabot[bot] Jun 8, 2026
eb12838
Merge pull request #247 from SpanPanel/dependabot/github_actions/code…
github-actions[bot] Jun 8, 2026
c721e21
ci(deps): bump actions/checkout from 6 to 7
dependabot[bot] Jun 22, 2026
da03c86
Merge pull request #249 from SpanPanel/dependabot/github_actions/acti…
github-actions[bot] Jun 22, 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
10 changes: 10 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copy this file to .env and adjust paths for your local setup.

# Path to span-panel-api repo (for editable pip install)
export SPAN_PANEL_API_DIR=../span-panel-api

# Path to span-card frontend repo (for build-frontend.sh)
export SPAN_CARD_DIR=../cards/span-card

# Path to HA config directory (created automatically if missing)
export HA_CONFIG_DIR=./ha-config
43 changes: 36 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,46 @@
version: 2
updates:
# Python dependencies managed by Poetry
# Python dependencies managed by uv
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
open-pull-requests-limit: 1
allow:
- dependency-type: "all"
groups:
# Home Assistant core, stubs, and test component must upgrade together.
# A version mismatch between any of these causes resolution failures.
ha-core:
patterns:
- "homeassistant"
- "homeassistant-stubs"
- "pytest-homeassistant-custom-component"
# Group remaining development dependencies together
dev-dependencies:
patterns:
- "pytest*"
- "mypy"
- "ruff"
- "bandit"
- "prek"
- "isort"
- "pylint"
- "radon"
- "prettier"
- "python-direnv"
- "*-cov"
- "types-*"
- "voluptuous-stubs"
- "pyright"
exclude-patterns:
- "homeassistant"
- "homeassistant-stubs"
- "pytest-homeassistant-custom-component"
reviewers:
- "cayossarian"
assignees:
- "cayossarian"
commit-message:
Expand All @@ -17,15 +50,9 @@ updates:
- "dependencies"
- "python"
ignore:
# Ignore major version updates for Home Assistant to prevent breaking changes
- dependency-name: "homeassistant"
update-types: ["version-update:semver-major"]
# Ignore major version updates for span-panel-api since it's a local dependency
- dependency-name: "span-panel-api"
update-types: ["version-update:semver-major"]
# Ignore pytest-homeassistant-custom-component major updates to maintain compatibility
- dependency-name: "pytest-homeassistant-custom-component"
update-types: ["version-update:semver-major"]

# GitHub Actions dependencies
- package-ecosystem: "github-actions"
Expand All @@ -35,6 +62,8 @@ updates:
day: "monday"
time: "09:00"
open-pull-requests-limit: 1
reviewers:
- "cayossarian"
assignees:
- "cayossarian"
commit-message:
Expand Down
5 changes: 5 additions & 0 deletions .github/instructions/*.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copilot Review Instructions

- Before reviewing a PR examine any previous comments on the PR and the resolutions.
- Use those previous comments as the basis for the new review so that resolutions that were previously resolved and where code changes have not diverged are not
repeated unnecessarily.
58 changes: 0 additions & 58 deletions .github/workflows/ci-simulation-example.yml

This file was deleted.

50 changes: 26 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,53 @@ on:
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.14"]
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Install prek
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/latest/download/prek-installer.sh | sh

- name: Install dependencies
run: |
# Replace path dependencies with PyPI versions for CI
sed -i 's/span-panel-api = {path = "..\/span-panel-api", develop = true}/span-panel-api = "^1.1.13"/' pyproject.toml
sed -i 's/ha-synthetic-sensors = {path = "..\/ha-synthetic-sensors", develop = true}/ha-synthetic-sensors = "^1.1.13"/' pyproject.toml
# Regenerate lock file with the modified dependencies
poetry lock
poetry install --with dev
# Install bandit with TOML support
poetry run pip install 'bandit[toml]'
# Remove local path source overrides so uv resolves from PyPI
sed -i '/^\[tool\.uv\.sources\]/,/^$/d' pyproject.toml
uv lock
uv sync

- name: Format check with ruff
run: poetry run ruff format --check custom_components/span_panel
run: uv run ruff format --check custom_components/span_panel

- name: Lint with ruff
run: poetry run ruff check custom_components/span_panel
run: uv run ruff check custom_components/span_panel

- name: Type check with mypy
run: poetry run mypy custom_components/span_panel
run: uv run mypy custom_components/span_panel

- name: Security check with bandit
run: poetry run bandit -c pyproject.toml -r custom_components/span_panel

- name: Check poetry configuration
run: poetry check
run: uv run bandit -c pyproject.toml -r custom_components/span_panel

- name: Run pre-commit hooks (for extra validation)
run: poetry run pre-commit run --all-files --show-diff-on-failure
- name: Run prek hooks (for extra validation)
run: prek run --all-files --show-diff-on-failure
env:
SKIP: ""

- name: Run tests with coverage
run: poetry run pytest tests/ --cov=custom_components/span_panel --cov-report=xml --cov-report=term-missing
run: uv run pytest tests/ --cov=custom_components/span_panel --cov-report=xml --cov-report=term-missing
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v7
with:
slug: SpanPanel/span
files: ./coverage.xml
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/dependabot-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Dependabot Auto-Approve

on:
pull_request_target:
types: [opened, synchronize, reopened]

permissions:
contents: read
pull-requests: write

jobs:
auto-approve:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v3.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Auto-approve patch and minor updates
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
uses: hmarr/auto-approve-action@v4
with:
review-message: "Auto-approved ${{ steps.metadata.outputs.update-type }} update for ${{ steps.metadata.outputs.dependency-names }}"

- name: Auto-approve GitHub Actions updates
if: ${{ steps.metadata.outputs.package-ecosystem == 'github_actions' }}
uses: hmarr/auto-approve-action@v4
with:
review-message: "Auto-approved GitHub Actions update for ${{ steps.metadata.outputs.dependency-names }}"
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.4.0
uses: dependabot/fetch-metadata@v3.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Hassfest
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: "home-assistant/actions/hassfest@master"

hacs:
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ xnotes/*
!.vscode/tasks.json
.git/
.direnv/
docs/
env/
.envrc
.env
Expand All @@ -22,7 +23,16 @@ env/
# Coverage files
.coverage
.coverage.*
coverage_output.log
.local_coverage_data
htmlcov/
.pytest_cache/
docs/agile-readme.md
.github/copilot-instructions.md
.claude/
.superpowers/
docs/superpowers/
.mcp.json

# Docker dev environment
ha-config/
3 changes: 2 additions & 1 deletion .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"dist/**",
"build/**",
".cursor/**",
"tests/**"
"tests/**",
"docs/superpowers/**"
],
"config": {
"default": true,
Expand Down
Loading