Skip to content

fix(translations): add named indoor rooms to initial setup + fix missing en strings#122

Merged
kmich merged 6 commits into
mainfrom
fix/indoor-rooms-initial-setup
Jul 1, 2026
Merged

fix(translations): add named indoor rooms to initial setup + fix missing en strings#122
kmich merged 6 commits into
mainfrom
fix/indoor-rooms-initial-setup

Conversation

@kmich

@kmich kmich commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Merges Update config_flow.py #120 (adds named indoor rooms as a step in initial setup, mirroring the existing Options-flow hub) and Update fr #121 (French translations for those new steps) together, since neither works correctly on its own.
  • Adds the missing strings.json / translations/en.json entries for the new config-flow steps (indoor_rooms, room_edit, room_form, room_remove) and the room_name_required error, which Update config_flow.py #120 introduced in code but never added English strings for. Update fr #121 only added the French side.
  • As a side effect, Update config_flow.py #120 also fixes a pre-existing bug in the Options flow: when both Vigicrues and Indoor were enabled, finishing the Vigicrues step used to skip straight past the Indoor Rooms step to Upload Services.

Verified config.step / config.error key sets now match exactly across strings.json, translations/en.json, and translations/fr.json.

Closes #120, closes #121.

Test plan

  • python -m py_compile custom_components/ws_core/config_flow.py
  • JSON validity check on all three translation files
  • Programmatic diff confirming config.step/config.error keys match across strings.json, en.json, fr.json
  • Manual click-through of initial setup with "Enable Indoor" toggled on (add/edit/remove a room)
  • Manual click-through of Options flow with both Vigicrues and Indoor enabled, confirming Indoor Rooms step is now reached

Benjamin45590 and others added 6 commits July 1, 2026 00:39
…or rooms

PR #120 added new config-flow steps (indoor_rooms, room_edit, room_form,
room_remove) and a room_name_required error for configuring named indoor
rooms during initial setup, but only PR #121 added translations (French
only). Add the matching strings.json/en.json entries so the flow renders
correctly in English and hassfest translation checks pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…on checks

PR #120's new initial-setup indoor room steps (indoor_rooms hub, room_add/
edit/form/remove/done) bypass the linear back-button convention the same
way the identical, already-shipped room_* steps in the Options flow's
indoor_rooms_opt hub do: the hub is a menu (no data schema to carry a
_go_back field) and the CRUD sub-forms loop back to their own hub rather
than the outer step sequence. Exempt them explicitly instead of leaving
CI red.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Initial-setup indoor rooms (PR #120), the Vigicrues/Indoor Options-flow
ordering fix, and the missing English translations for the new steps.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@kmich kmich merged commit 3acdb3a into main Jul 1, 2026
10 checks passed
@kmich kmich deleted the fix/indoor-rooms-initial-setup branch July 1, 2026 07:00
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.

2 participants