Skip to content

Add missing strings.json file to fix config flow registration - #2

Draft
wizzyto12 with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-split-driver-lights-integration
Draft

Add missing strings.json file to fix config flow registration#2
wizzyto12 with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-split-driver-lights-integration

Conversation

Copilot AI commented Nov 4, 2025

Copy link
Copy Markdown

Home Assistant couldn't load the integration due to a missing strings.json file, resulting in "Invalid handler specified" error when attempting to add the integration via UI.

Changes

  • Added custom_components/ble_adv_split/strings.json: Home Assistant requires this file at the component root to register config flows. Copied from existing translations/en.json.
  • Fixed typo: Corrected "Minumum Duration" → "Minimum Duration" in both strings.json and translations/en.json.

Context

Home Assistant's config flow system validates against strings.json (base English translations) at the component root, separate from the translations/ directory used for localization. The integration had translations but was missing this registration file.

Original prompt

You recently did work to add split driver lights functionality, but I cannot add the integration to Home assistant

Config flow could not be loaded: {"message":"Invalid handler specified"}

This is the error I am getting.

Please investigate and fix the issue.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 4, 2025 22:55
Co-authored-by: wizzyto12 <26523746+wizzyto12@users.noreply.github.com>
Co-authored-by: wizzyto12 <26523746+wizzyto12@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix integration issue with split driver lights in Home Assistant Add missing strings.json file to fix config flow registration Nov 4, 2025
Copilot AI requested a review from wizzyto12 November 4, 2025 23: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