Top row is now a 2-unit markdown card showing output power large in mW
(sized/centred via card-mod piercing the ha-markdown shadow, since the
markdown card strips inline styles) next to the 1-unit square SHUTDOWN
button. Dropped the now-redundant mW tile from the lower Output section,
leaving Output dBm and EDFA in.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the three-button emergency row (PUMP OFF / SEED OFF / SHUTDOWN)
with one full-width red SHUTDOWN button, moved to the top of the view. It
runs script.butterfly_edfa_shutdown (pump-1 to 0, booster off, then seed
off) with no confirmation, so it acts immediately.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Switch the Control view to a single column so the sections render top to
bottom in operating order: Status -> Output -> Seed (Stage 1) ->
Booster (Stage 2) -> Emergency, instead of the 2-column masonry that put
Seed beside Output and Booster below.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
HA derives the entity_id from the entity name (Amp Pump Limit Override),
not the discovery object_id, so the switch is
switch.butterfly_edfa_rack_amp_pump_limit_override. The dashboard pointed
at ...amp_pump_override, hence 'Entity not found'.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Surfaces the new switch.butterfly_edfa_rack_amp_pump_override entity that
lifts the pump-1 clamp from 4000 mA to 8000 mA. Shows as unavailable
until the override firmware is flashed to the ESP32.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The top glance strip used the seed/pump switch entities, so each on/off
control appeared twice (strip + stage card). Switch the strip to
read-only lamps: seed uses the seed_laser_enabled binary sensor, and all
four entries get tap_action: none. The real toggles stay in the Seed and
Booster stage cards (plus the emergency off buttons).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Addresses review feedback on the first panel pass:
- remove the output and pump-1 gauge cards (numeric tiles instead)
- fix illegible status lamps: a full-width 4-up glance strip with short
labels replaces the cramped icon-only tile row; readouts use
grid_options so names no longer truncate
- widen to a 2-column sections layout
- history graphs stay on their own Diagnostics & Trends tab
Verified in-browser against the live HA (2026.1.2).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Split into two sections-view tabs. The Control tab leads with a status-
lamp row (seed/amp link, seed, booster, fault status), a headline output
gauge in mW with dBm/input tiles, then the Seed and Booster stages as
labelled channels with their controls, and a red emergency block
(PUMP OFF / SEED OFF / SHUTDOWN) styled via card-mod. The Diagnostics &
Trends tab absorbs the history graphs and the network/TEC/error detail
that previously crowded the top of the single view.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fresh repo holding only the Butterfly-rack HA side (the firmware and BOM
live in koheron-esp32-bridge). Contents, pulled from the live HA host:
- configuration.butterfly.yaml: dBm->mW template sensors + the YAML
dashboard registration, to merge into /config/configuration.yaml
- scripts.butterfly.yaml: the butterfly_edfa_shutdown emergency-off script
- ui-lovelace-butterfly.yaml: the dashboard
- deploy.sh: scp the dashboard, check_config, restart HA
- .gitignore guards against committing the HA DB, logs and secrets
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>