Skip to content

Missing invalid_host error string in strings.json #141

@jensihnow

Description

@jensihnow

When bridge discovery returns no results during manual setup, config_flow.py sets errors = {"base": "invalid_host"} (config_flow.py:93). However, invalid_host is not defined in strings.json — only invalid_pin is present under config.error. As a result the error is silently swallowed and the user receives no feedback when entering a host where no bridge can be found.

Fix

Add the missing key to strings.json:

"error": {
  "invalid_pin": "Invalid PIN",
  "invalid_host": "Could not find a ComfoConnect bridge at this address"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions