Skip to content

Release 2.9.0 - #39

Merged
cayossarian merged 22 commits into
mainfrom
release/2.9.0
Nov 20, 2026
Merged

cayossarian merged 22 commits into
mainfrom
release/2.9.0

Conversation

@cayossarian

Copy link
Copy Markdown
Member

Sets the version to 2.9.0 and gives both changelogs their 2.9.0 entry; merging to main builds and publishes the 2.9.0 add-on image.

Supersedes #38: this branch carries its ebus-panel-sim 0.11.0 adoption unchanged, followed by the device ids a real hardware 3.0 panel publishes, and the release.

Testing

  • uv run pytest -q: 1383 passed, 6 xfailed. ruff check, ruff format --check, mypy --strict and the hooks pass.
  • Conformance: the golden tree's profile is 452 match, 4 divergence, 69 extension and 1327 omission, with no violations.
  • Fuzz: every key the config types declare was set to odd values on the tracked and generated templates. Validation raised nothing but a ValueError, and every config it accepted started a panel and ticked.
  • Home Assistant: the SpanPanel/span integration's migration across release 202645 was run against a pre-release build on a test install, with v2.3.3b1 and Core 2026.11.2.
    • MLO 48, live: every entity and device kept its registry id, and 366 entities and 45 devices were re-keyed.
    • MAIN 16, live and across a restart: the remote CT carried over, with the two expected name warnings.
    • MAIN 32: unchanged.
    • The before templates used for that run are removed here (740024a).

2.9.0 — SPAN release 202645, and the device ids real panels publish

PanelBench runs on ebus-panel-sim 0.11.0. Its generated templates are each panel's latest capture, on SPAN release 202645 where the emitter has one,
and a hardware 3.0 panel publishes the device ids a real one does.
The shipped templates are all ref_ templates: the two tandem templates are renamed,
and the three default_MAIN_ templates are removed. The span-panel integration carries a hardware 3.0 panel's entities across the change of ids at
release 202645 from v2.3.3 (in pre-release as v2.3.3b1).

Added

  • PanelBench publishes the device ids a real panel does. A hardware 3.0 panel names its circuits, its remote CT and its lugs by SPAN's numbers for them,
    which it keeps while the ids around them change at release 202645: circuit-<n> and remote-ct-<n> before it, {serial}-{hex16}-1-16-<n>,
    -1-42-<n> and -1-21-2 from it. A circuit records its number as circuit_number, and the panel its segment as panel_config.device_id_hex, so the ids
    follow firmware_version across the release. A template of a hardware 3.0 capture that keeps its panel's ids and a clone of such a panel record them as
    the panel publishes them, and a circuit added in the dashboard takes the lowest number its panel's circuits leave. A MAIN 32, whose ids no release
    changes, and a config that records no numbers publish as before. Since nothing scopes those ids to the panel before release 202645, a panel whose
    device ids another running panel already publishes is refused at start, as one with a running serial is. The span-panel integration carries a panel's
    entities across the change from v2.3.3 (in pre-release as v2.3.3b1).
  • Three templates of real panels, generated from the emitter's reference captures: ref_MAIN_32_CASCADE, a MAIN 32 fed by another panel, with a battery;
    ref_MAIN_16_BESS, a MAIN 16 with a hybrid battery and an EVSE; and ref_MLO_48_HYBRID, an MLO 48 whose battery's inverter takes its solar.
  • A battery can take its own solar. bess.inverter_type: hybrid (default ac-coupled) says the battery's own inverter also takes PV, on its DC side, and
    bess.pv_array.nameplate_capacity_w rates the array; it produces by the panel's location and weather and joins power-flows/pv and the solar the battery's
    dispatch sees, live and in the Model view. A clone writes a battery hybrid where the emitter's capture reads it so: the panel publishes power-flows/pv
    and nothing but its one battery could bring it solar. An imported definition keeps its battery's coupling. A battery change the running panel cannot
    take, a coupling changed or the battery enabled, disabled or replaced, restarts the panel, since the emitter builds its battery at start. Off grid the
    array is not yet curtailed to what the load and battery can take, as the PV circuits are not.
  • panel_config.feedthrough (default true). With false, a hardware 3.0 panel on SPAN release 202645, or on a firmware naming none, publishes no
    downstream lugs, as such a panel without a feedthrough module does; release 202639 and a MAIN 32 publish both. A clone of a panel publishing its upstream
    lugs alone writes false. A lugs.downstream section for lugs the panel does not publish is refused, and so is a battery placed DOWNSTREAM of them.

Changed

  • The tandem templates are now ref_MAIN_32_TANDEMS.yaml and ref_MLO_48_TANDEMS.yaml, formerly default_MAIN_32_TANDEMS.yaml and
    default_MLO_48_TANDEMS.yaml. They are the two tracked templates; the others are generated at every start from the emitter's reference captures.
  • ref_MAIN_32_TANDEMS names its panel SPAN Panel eBus Adapter with display_name, and every working-panel test now runs on it.
  • The dashboard opens ref_MAIN_32.yaml first, else the first ref_*.yaml.
  • Only a ref_ file is a template. A default_*.yaml left in a config directory by an earlier release is editable, and run.sh neither refreshes nor
    deletes it; run.sh refreshes the shipped ref_ files.
  • Saving with no config open is refused, saying no config is open, where it said a default template could not be saved; a template's refusal reads
    "template".
  • Upgrading leaves your default_* files as they were. An install whose .last_config names default_MAIN_16.yaml or default_MAIN_40.yaml still has
    that file and resumes it, and the integration's positions warning continues. A leftover default_MAIN_32_TANDEMS.yaml or default_MLO_48_TANDEMS.yaml
    keeps the serial its ref_ twin has (sim-32t-tandems-001, sim-48t-tandems-001), so running both starts one and the other is refused with an error
    badge naming the serial. Delete the leftover default_* files, or clone the ref_ equivalent.
  • The README lists every template in one table, and the conformance profile in DEVELOPER.md is the regenerated one: 452 match, 4 divergence, 69 extension
    and 1327 omission.
  • PanelBench runs on ebus-panel-sim 0.11.0, which publishes some things differently, as its CHANGELOG records. The lugs' meter/current-a and
    meter/current-b take each space's leg from its row and net each leg's current. On hardware 3.0 the circuits of one tandem or quad each publish the
    breaker's one reading, and a relay or priority set on one over MQTT reaches them all. A battery's info/nameplate-capacity has one decimal place there (27.0).
    A hardware 3.0 panel on release 202645, or on a firmware naming none, publishes each circuit's connection/connection-point.
  • 0.11.0 refuses the circuits of one tandem or quad differing in priority, relay lock, never-backup or energy seed, and a PV rating that is not above 0,
    both of which 0.10.0 started on, and PanelBench refuses them when it loads, edits or saves a config, as it does all the emitter refuses (see Fixed). The
    dashboard applies a relay toggle, or a priority or relay-behaviour edit, on one circuit of a tandem or quad to every circuit on it, since the breaker has
    one relay; only a circuit whose own value changes leaves recorder replay. A clone, and a refresh of its energy from the source panel, writes a tandem's or
    quad's one register to each of its circuits: the largest any of them publishes, as the emitter's capture takes it, since they read one meter a moment
    apart.
  • Four generated templates are their panels' later captures, on release 202645: ref_MAIN_32, ref_UNKNOWN_16, ref_MAIN_40 and ref_MLO_48, where
    they were the release 202639 captures of the same panels. ref_MAIN_40 is that panel recommissioned, with 38 circuits and no battery, where it had 5 and
    a battery fed by a circuit, and ref_UNKNOWN_16 adds an EVSE. Each keeps its serial (sim-main32_r202639, sim-r202639-a, sim-r202639-c and
    sim-r202639-e), as a panel keeps its serial through a firmware upgrade, so Home Assistant keeps a panel run from one of them across the upgrade of
    PanelBench. ref_MAIN_32 keeps its devices' ids too. The hardware 3.0 templates (ref_UNKNOWN_16, ref_MAIN_16, ref_MAIN_40, ref_MLO_24 and
    ref_MLO_48) now publish their panels' own ids for their circuits and remote CT, and on release 202645 for their lugs, where they published hashed and
    serial-scoped ones, so Home Assistant sees those devices as new.
  • A pv section listing inverters must set enabled, and pv.enabled must be true or false. The inverters no circuit feeds publish only while
    pv.enabled is true, and a config listing them without it loaded and published none of them; it is now refused, saying to set enabled to true to
    publish them or false to keep them off. An enabled that is empty or quoted, such as "false", which published the opposite of what it says, is refused
    too.

Fixed

  • A clone of a MAIN 16 or MAIN 40 offers only its model's spaces, 9 to 24 or 9 to 48, as the SpanPanel integration expects. The dashboard offered spaces
    from 1, so the first circuit added to a clone of ref_MAIN_40, or to one of ref_MAIN_16 once a circuit was removed, landed on space 1 and drew the
    integration's positions warning. A clone or imported definition lists only those spaces as unmapped, and a clone of a MAIN 16 or MAIN 40 takes the model's
    last space, 24 or 48, as its total_tabs, where it took 16 or 40 and resized itself from its circuits, with a warning, when one sat higher. A clone whose
    circuits sit outside its model's spaces says so in the log. The spaces follow a config's model wherever it names one, so a clone an earlier release sized
    40 starts at 9 too; a config with no model, such as one sized 16 or 40 by its count of spaces, keeps spaces 1 to total_tabs, as before.
  • A local image build leaves the untracked configs out. The add-on image copies configs/ whole, so one built from a working checkout carried the
    generated ref_ templates, clones, history databases, and configs/.secrets/ and configs/rates/, which hold credentials and API keys. .dockerignore now
    keeps all but the presets and the two tracked templates out, as a build from git has it, and leaves local state and caches out of the build context; images
    built by CI were not affected.
  • A PV inverter or SPAN Drive added in the dashboard no longer stops its panel starting. It sits on no breaker space, and the emitter refuses a circuit
    with none, so a panel with one would not start; it is now a what-if device, which the Model view models and the panel does not publish, nor anything it
    would feed. A pv.feed or bess.feed naming one is refused.
  • A breaker rating edited in the dashboard is published. The edit writes the circuit's own rating, which the dashboard showed while the panel went on
    publishing its template's. The engine, the panel's definition, validation and the dashboard's view of a circuit now all read it by its template with
    the circuit's overrides and own rating over it, so what is checked is what is modelled, published and shown. A hand-written override outside the
    energy profile, such as relay_behavior, which only the engine applied, is published too, and a rating must be above 0.
  • A config the panel cannot start on is refused when PanelBench loads, edits or saves it, saying why, where it loaded and saved and the panel then
    failed to start. PanelBench builds the emitter as a panel's start does, so whatever the emitter refuses, such as an unvalued path the device's profile
    declares none of, is refused with its reason, each circuit and meter named by its id. A section or setting of the wrong shape, such as lugs: x,
    bess.charge_hours: 5 or a template's power_range: {min: 50, max: 150}, is refused by name, a circuit's overrides as they leave its template, where
    the panel failed to start or tick with an error naming nothing; a number may still be quoted where it is read as one.
    A total_tabs that is no SPAN panel's size, or a latitude or longitude off the globe, which the dashboard's form allowed, and a battery of 0 kWh or a
    discharge efficiency of 0, which failed on its first tick, are refused. A template no circuit uses is read by nothing, so it is checked for its shape
    alone. A bess.feed naming no circuit, which published a battery fed by nothing, is refused, and deleting the circuit it names in the dashboard drops
    it, as it drops a pv.feed.
  • A cycling load reads the same at a given simulated time on every run. Its on and off phases follow the panel's clock, counted from the epoch, where they
    ran from the moment the panel started on the real clock. A panel set to a simulated time could read a cycling load on in one run and off in the next, and
    a panel no longer starts every cycling load at the start of its on phase.

Removed

  • default_MAIN_16.yaml, default_MAIN_32.yaml and default_MAIN_40.yaml, which ref_MAIN_16, ref_MAIN_32 and ref_MAIN_40 cover. The SpanPanel
    integration's client, span-panel-api, places MAIN 16 at spaces 9 to 24 and MAIN 40 at 9 to 48, and default_MAIN_16 and default_MAIN_40 numbered their
    spaces from 1, so the integration logged "Panel model ... has breaker positions ..., but its circuits occupy spaces ..." for both. Each range is the one a
    reference capture of that model shows: a MAIN 16's circuits on spaces 9 to 24, and a MAIN 40's on 9 to 48.

Pin the emitter at 0.11.0; ebus-sdk stays at 0.22.0, still its ceiling. The cascade capture and the shed-forecast estimates of r202645-g and r202639-f are what the emitter itself cannot reproduce from their definitions, so they take its exceptions with its reasons.
The emitter's 0.11.0 captures of four panels PanelBench already templates, on release 202645, take those templates' names, and the release 202639 captures of the same panels, which keep their masked serials, are retired, as main32_r202633 was. ref_MAIN_40 is that panel recommissioned, with 38 circuits and no battery. Three captures of other panels become ref_MAIN_32_CASCADE, ref_MAIN_16_BESS and ref_MLO_48_HYBRID. The dashboard's first template is the release 202645 MAIN 32, and the startup test reads its serial from the file rather than naming it. Both changelogs' Unreleased sections had two Fixed headings; the cycling entry joins the first.
…s from release 202645

panel_config.feedthrough (default true) records whether the panel has a feedthrough module. From SPAN release 202645 a hardware 3.0 panel without one publishes its upstream lugs alone, as the emitter's r202645 captures show, so the spec generator leaves the downstream lugs out under span-alpha-test-b2 on that release or a firmware naming none. Earlier releases publish both whatever the panel has, as every r202639 capture does, and no capture shows a MAIN 32 leaving them out, so there the flag changes nothing. A clone of a panel publishing its upstream lugs alone writes feedthrough: false; a lugs.downstream section for lugs the panel does not publish is refused, and a feedthrough that is not a bool.
bess.inverter_type (ac-coupled by default, or hybrid) says whether the battery's own inverter also takes PV, published as its inverter-type, and bess.pv_array.nameplate_capacity_w rates the array a hybrid takes. The engine produces that array with the model PV circuits use, by the panel's location and weather, and the runtime hands it to the emitter as the battery's bess_pv, which the emitter adds to power-flows/pv, to what the battery's dispatch sees and to the grid; the battery is still dispatched by the emitter. The Model view books the array the same way in both passes. A clone takes a battery's coupling from the emitter's own reading of the tree, which writes hybrid where the panel publishes power-flows/pv and nothing but its one battery could bring it solar, rather than keeping a second rule; an import keeps its definition's coupling. The fidelity replay carries a capture's bess_pv onto the reproduction's battery, so r202639-f reproduces on both routes. The recorder history helper moves to tests/_helpers for the Model view tests.
The README, DEVELOPER and the add-on docs describe panel_config.feedthrough and a hybrid battery's inverter_type and pv_array, and which firmware each template reports; a config naming no firmware publishes release 202645's conventions. A MAIN 40's spaces now rest on a capture, r202645-c, whose 38 circuits sit on 9 to 48, in panel_models, the clone's comment and the changelog. Both changelogs record what 0.11.0 publishes differently, the battery's own solar and feedthrough.
… as one; virtual devices stay unpublished

Validation ends by asking the emitter: its manifest parse and, under a variant that publishes shared breakers, its rule that a breaker's circuits agree in priority, relay lock, never-backup, placement and energy seed (ebus_panel_sim.shared_hardware), on a normalised copy of the config, with each circuit named by its id. Under 0.11.0 the dashboard could otherwise save a tandem whose circuits differ, or a PV rating of 0, which then would not start. The dashboard applies a priority or relay-behaviour edit and a relay toggle on one circuit of a tandem or quad to every circuit on it, as the breaker has one relay.

A circuit on no breaker space, as the dashboard adds a PV inverter or SPAN Drive, is a what-if device: the Model view models it, and it is left out of the manifest, the devices it would feed and each tick, since the emitter refuses a circuit with none and a panel with one did not start, on 0.10.0 too.

A hybrid battery's PV goes only to a battery the emitter was started hybrid, and a live edit that makes a battery hybrid is not applied, so the dashboard restarts the panel instead of every tick being refused. A clone's hybrid battery, kept unrated as the Model view's Before battery, takes the live array rating there, so rating it shows no saving. The Model view tests now pin the array's amount, the energy balance and the battery's dispatch in both passes. A battery placed DOWNSTREAM of lugs the panel does not publish is refused. Off grid the array is not curtailed, as the PV circuits are not, which the emitter's dispatch is the place for; the README and changelogs say so. Stale 0.10.0 references in the fidelity provenance and round-trip reasons, the README's rehearsal text and the clone's warning are corrected.
…ster; virtual devices bind nothing

Validation refuses what a panel cannot start on by building the emitter as start does, through one construct_emitter that start, an import's render and validation share, so every rule the emitter applies to a definition applies when PanelBench loads, edits or saves a config, with each circuit and outside meter named by its id. That replaces the partial check (the manifest parse and shared_hardware's breaker rule) and the import of a module outside the emitter's public API. Before it, shape checks refuse by name every section the definition reads that is not the mapping, list or number its type says (bess, pv, evse, lugs, broker, simulation_params, panel_config's serial, total_tabs, main_size and site, a template's energy_profile, nameplate and breaker_rating, a circuit's template and tabs, the battery's numbers and hours), which reached the panel's start as an AttributeError or TypeError naming nothing. A bess.feed naming no circuit is refused, and deleting the circuit it names drops it, as a pv.feed is dropped.

A PV circuit on no breaker space binds no PV device: pv_circuit_ids counts the circuits on the panel, so a what-if PV no longer publishes a device fed by nothing, nor hides the panel's own inverter, and lends an upstream inverter no type; a pv.feed or bess.feed naming one is refused.

A clone and a refresh from the source panel write a tandem's or quad's one register to each of its circuits, the largest any publishes, as the emitter's capture takes it: the circuits read one meter a moment apart, and 0.11.0 refuses seeds that differ. A mate leaves recorder replay only where its own value changes. A live battery change applies only when it keeps the battery the emitter started with, coupled as it was; enabling, disabling or replacing it, or changing its coupling, restarts the panel. Tests pin each fix; every weakening tried fails one. The README's off-grid sentence no longer says the emitter's dispatch sees the load after shedding.
Validation now also checks what the engine reads, each setting as its reader takes it: a template's energy profile must hold mode, power_range and typical_power, power_range two numbers, the variation, a cycling load's durations, smart behaviour's reduction and the panel's latitude and longitude real numbers, since the engine does arithmetic on them; a duty cycle and the time-of-day factors convert with float(), so they may be quoted. cycling_pattern, smart_behavior, time_of_day_profile and simulation_params must be mappings where present, and a circuit's overrides are checked on the template as they leave it, through the one set of profile keys SimulatedCircuit routes them by. A serial must be a string and a circuit id a name or number.

The shape checks from the last commit now take each number as its reader does, so a quoted main_size, total_tabs, breaker rating or battery number, a load's empty nameplate and tabs: [1.0], which all ran before, still load; an empty nameplate is refused on a PV template alone, where the inverter's device needs it. total_tabs must be a SPAN panel's size, which start checked only after the panel was up and the dashboard's form did not, so that check moves to validation; a 0 kWh battery, which failed on its first tick, is refused. While validation builds and drops its emitter, a filter keyed on a context variable drops the SDK's homie records below WARNING, about 19,000 per edit at DEBUG on 48 circuits, and leaves a running panel's own alone.

A refresh missing one circuit of a tandem gives both the register the scrape has. Tests cover the produced register too. Four dashboard fixtures whose profiles could never tick get runnable ones. Fuzzing both tracked templates (every path set to a string, number, null, list, mapping or bool) raises only ValueError from validation, and every config it accepts starts a panel and ticks; every weakening tried fails a test.
What the definition and the engine read of a template is now checked on each circuit's effective template, its overrides applied as SimulatedCircuit applies them and its own breaker_rating over both, so a template no circuit uses is checked for its shape alone, as nothing reads it. A producer's nameplate must be a real number, since the engine takes abs() of it; a quoted one failed on a tick. Latitude and longitude must lie on the globe, which the dashboard's form did not ensure and the time-zone lookup refuses at start. Energy seeds, monthly factors, active days, hvac_type, soc_shed_threshold, time_acceleration and tab_synchronizations are taken as their readers take them, a discharge efficiency of 0, which the battery divides by, is refused, and a circuit id may be a float, as one ran before.

Fuzzing every key the config types declare with odd values, on both tracked templates and three generated ones, gives no exception but ValueError from validation, and each of the 10,727 configs it accepts starts and ticks at three times of day; every weakening tried fails a test.
circuit.effective_template is the one rule for a circuit's template as the panel has it: its template with the circuit's recorder link, its overrides (OVERRIDDEN_PROFILE_KEYS into the energy profile, any other into the template) and its own breaker_rating, which replaces the template's under either key. SimulatedCircuit, the definition (every per-circuit read in spec_generator, through _template_of) and validation all read a circuit through it; validation and the PV binding use its untyped form, effective_settings, since they read a config before it is typed. The runtime's EVSE feeds take the spec generator's circuits_for_device_type, the list the manifest is built from, in place of a copy of it.

So a breaker rating edited in the dashboard, which writes the circuit's own, is published, where the panel went on publishing the template's while the dashboard showed the edit. A template rating every circuit on it replaces is read by nothing and no longer refused, and an override named energy_profile that is no mapping is refused by name. SimulatedCircuit's two type: ignore comments on the override routing go. Every fuzz stays clean, and each weakening of the rule fails a test.
… each circuit as published

A generated template's serial was its capture's, so the r202645 capture of a panel took a serial its r202639 capture's template had not: a panel run from ref_MAIN_32 before upgrading PanelBench and after it was two panels to Home Assistant, not one upgraded. A later capture now takes its earlier one's serial (reference_templates._SUCCEEDS, from which the retired captures follow), as a panel keeps its serial through a firmware upgrade. ref_MAIN_32 stays sim-main32_r202639 on its r202645 capture, with the same 16 circuit ids, names and spaces, so switching from main's PanelBench to this one under a running Home Assistant exercises the integration's migration.

The dashboard's view of a circuit, and the lock guards that read it, take the circuit as the panel has it (effective_settings), so a hand-written override or circuit rating shows as published. A breaker rating must be above 0. Tests pin the recorder link, the device type the manifest and PV binding read, the dashboard view and the serial; each weakening fails one.
The hook runs mypy in its own environment from its additional_dependencies, which still pinned ebus-panel-sim 0.10.0b2, so the lint job failed on TickInputs' bess_pv, a keyword only 0.11.0 has. The pin now matches pyproject's, and a test fails whenever an exact pin in the hook differs from the project's, as this one had since before 0.11.0.
… segment

circuit_number on a circuit or meter outside the panel, and panel_config.device_id_hex, as device_numbers reads them from the ids a hardware 3.0 panel publishes; validation takes a whole number above 0 used once on a panel, and 16 lowercase hex digits.
… them

instance_ids.circuit_device_id, outside_meter_device_id and lugs_device_ids(config) are the one naming rule: a numbered hardware 3.0 panel names a circuit circuit-<n> and a remote CT remote-ct-<n> before release 202645, and {serial}-{hex16}-1-16-<n>, -1-42-<n> and lugs -1-21-2 (downstream -1-21-1, a guess no capture shows) from it, a firmware naming no release being current. A MAIN 32, and a config that records no numbers, keep the hashed ids, so they publish as before. The manifest, a tandem's lists, the battery, PV and EVSE feeds, each tick's circuit powers, the runtime's id map and validation's reasons all name devices through it.
A clone records each circuit's circuit_number, its remote CT's, and the panel's device_id_hex from the ids the source panel publishes, either release's, so it names them as the panel does. A definition import drops them: a definition's ids are masked and renumbered in space order. A circuit and a remote CT may share a number, as SPAN numbers the two apart (a MAIN 16 has circuit-3 and remote-ct-3), so numbers are unique among each, and a circuit added takes the next circuit number.
reference_template numbers each circuit, the remote CT and the panel from the capture's tree, since a definition's ids are masked and renumbered: a circuit by its spaces, and its name where a tandem's share them, the remote CT by its id's trait onto the template's one outside meter, and the panel's 16-hex segment. Every hardware 3.0 template whose capture keeps its ids publishes its circuits, remote CT and lugs under them, with the template's serial for the panel's root.
…es, for the pre-release

PRE-RELEASE ONLY. _BEFORE_TEMPLATES writes the captures _SUCCEEDS retires again as ref_MAIN_32_R202639, ref_UNKNOWN_16_R202639, ref_MAIN_40_R202639 and ref_MLO_48_R202639, each its panel before the upgrade to release 202645 with the serial its successor keeps, so running one and then its successor exercises a consumer's migration across the upgrade. One table, to strip before a production release; PanelBench refuses a second panel with a running serial, so only one of a pair runs at a time.
…umber

add_entity and add_entity_from_tabs give a circuit added to a panel that numbers its circuits the lowest number none of them uses, so it publishes as the panel names its circuits; on a panel with no numbers it takes none, as before.
The README's Device ids section, DEVELOPER.md's circuit_number and device_id_hex schema lines, and both changelogs' Added entries. The pre-release's before templates are left out, as they are stripped before a production release.
…n one broker are refused

Validation translated the emitter's reasons by replacing one device id at a time, so circuit-1 rewrote the head of circuit-12 and a refusal named the wrong circuit; it now replaces whole ids in one pass, longest first. A hardware 3.0 panel before release 202645 names its circuits circuit-<n> under no serial, as its own broker lets a real one, so two such panels on PanelBench's one broker claimed each other's circuits' topics; a start whose device ids a running panel already publishes is now refused (SharedDeviceError), as a running serial is, and the serial refusal also says to stop the other panel.
Reverts 0b2c5c8: the release-named ref_*_R202639 templates were for testing the SpanPanel integration's migration across release 202645, which passed, and do not ship. The retired captures again get no template; the serial a later capture keeps and the refusal of a second panel publishing a running panel's device ids stay.
Sets the version to 2.9.0 and gives both changelogs their 2.9.0 entry: PanelBench on ebus-panel-sim 0.11.0, its generated templates each panel's latest capture, on SPAN release 202645 where there is one, and hardware 3.0 panels publishing the device ids real ones do. The changelogs and the README now say that a panel whose device ids another running panel publishes is refused, that the span-panel integration carries a hardware 3.0 panel's entities across the change of ids from v2.3.3, and that the hardware 3.0 templates' circuits come back to Home Assistant as new devices, since their ids changed; DEVELOPER.md and instance_ids name the numbered ids beside the hashed ones.
@cayossarian
cayossarian merged commit 0d0ca32 into main Nov 20, 2026
3 checks passed
@cayossarian
cayossarian deleted the release/2.9.0 branch November 20, 2026 23:33
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