Skip to content

feat: derive panel_size from Homie schema during connect()#114

Merged
cayossarian merged 1 commit intomainfrom
dynamic_panel_size
Mar 9, 2026
Merged

feat: derive panel_size from Homie schema during connect()#114
cayossarian merged 1 commit intomainfrom
dynamic_panel_size

Conversation

@cayossarian
Copy link
Member

Panel size is now sourced from the Homie schema's circuit space format ("1:N:1") fetched via GET /api/v2/homie/schema, replacing a non-deterministic heuristic that inferred size from the highest occupied breaker tab. SpanMqttClient.connect() fetches the schema internally so callers no longer need to pass panel_size. SpanPanelSnapshot.panel_size is now int (was int | None).

Panel size is now sourced from the Homie schema's circuit space format
("1:N:1") fetched via GET /api/v2/homie/schema, replacing a
non-deterministic heuristic that inferred size from the highest occupied
breaker tab. SpanMqttClient.connect() fetches the schema internally so
callers no longer need to pass panel_size. SpanPanelSnapshot.panel_size
is now int (was int | None).
@cayossarian cayossarian merged commit 8fceacc into main Mar 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant