Skip to content

fix: CWOP skipped in options flow + Blitzortung discovery + FR translations (closes #83, #81, improves #75)#85

Merged
kmich merged 2 commits into
mainfrom
claude/determined-kowalevski-4c7112
Jun 16, 2026
Merged

fix: CWOP skipped in options flow + Blitzortung discovery + FR translations (closes #83, #81, improves #75)#85
kmich merged 2 commits into
mainfrom
claude/determined-kowalevski-4c7112

Conversation

@kmich

@kmich kmich commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fixes Unable to feed PWSWeather and CWOP simultaneously #83 — Upload service options flow skipped CWOP (and other later steps) when PWSWeather was enabled alongside it. Four step handlers (pwsweather, wow, awekas, owm_stations) each had an incomplete next-step chain that jumped to MQTT/alerts before reaching OWM Stations → Windy → CWOP. Each handler now walks the full remaining chain.

  • Improves Lightning nearest distance (km, e.g. from WH57) shows “Entity not found” in Home Assistant #75 — Blitzortung auto-discovery now also matches entities by sensor.blitzortung_* entity ID prefix (not just platform == "blitzortung"), covering renamed/forked installs. Also adds "count" in eid to the counter pattern (previously only "counter" in eid was checked). Issue reopened to request clarification from reporter.

  • Closes Update French translations for weather sensors #81 — Incorporates Benjamin's French translation PR with corrections: soil_moisture name and deficit_pct attribute were left in English ("Soil Moisture", "Moisture deficit (%)") — translated to French. Two enable_soil descriptions were missing a closing ).

Test plan

  • Configure integration with WU + PWSWeather + CWOP all enabled — verify CWOP credential step appears after PWSWeather
  • Same test with WOW + CWOP, AWEKAS + CWOP, OWM Stations + CWOP
  • Verify Blitzortung lightning distance/count auto-populate once Blitzortung is loaded
  • Check fr.json parses cleanly: python -m json.tool fr.json

🤖 Generated with Claude Code

kmich and others added 2 commits June 16, 2026 08:45
…tzortung discovery, FR translations

Fixes #83: async_step_pwsweather, async_step_wow, async_step_awekas, and
async_step_owm_stations were each missing steps further down the upload
chain (OWM stations, Windy, CWOP). When PWSWeather + CWOP were both
enabled the options flow jumped directly to alerts after PWSWeather,
silently skipping CWOP credential entry and leaving the uploader
unconfigured.

Improves #75: _discover_blitzortung now also matches by entity_id prefix
(sensor.blitzortung_*) in addition to platform name, and the count pattern
now checks for "count" in entity_id (not just "counter"). Covers forks or
renamed integrations that don't set platform="blitzortung".

Closes #81: incorporate Benjamin's French translation additions (soil
sensors, conditions_summary, forecast_brier, nowcast_confidence, 90d
anomaly sensors, terminology improvements) with corrected translations for
soil_moisture name and deficit attribute (were left in English) and fixed
missing closing parenthesis in enable_soil descriptions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Patch release: CWOP options flow fix, Blitzortung discovery improvement,
French translation corrections (closes #83, #81, improves #75).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kmich kmich merged commit 0990712 into main Jun 16, 2026
10 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.

Unable to feed PWSWeather and CWOP simultaneously

1 participant