Skip to content

fix: remove URLs from translation strings to pass hassfest validation#391

Merged
eifinger merged 1 commit intoeifinger:mainfrom
eifinger-bot:fix-hassfest-url-validation
Jan 29, 2026
Merged

fix: remove URLs from translation strings to pass hassfest validation#391
eifinger merged 1 commit intoeifinger:mainfrom
eifinger-bot:fix-hassfest-url-validation

Conversation

@eifinger-bot
Copy link
Contributor

Hassfest validation fails because URLs are not allowed in translation strings.

This PR removes the GitHub URL from the config flow description in both:

  • translations/en.json
  • translations/de.json

Fixes #390

@eifinger-bot eifinger-bot force-pushed the fix-hassfest-url-validation branch from 33632f6 to 1be41c7 Compare January 29, 2026 09:52
Hassfest validation fails when URLs are hardcoded in translation strings.
Use description_placeholders to inject the documentation URL dynamically.

- Update en.json and de.json to use {docs_url} placeholder
- Pass description_placeholders in config_flow.py async_show_form()

Fixes eifinger#390
@eifinger-bot eifinger-bot force-pushed the fix-hassfest-url-validation branch from 1be41c7 to 5cdf8e5 Compare January 29, 2026 10:04
@eifinger eifinger added the github_actions Pull requests that update Github_actions code label Jan 29, 2026
@eifinger eifinger merged commit 7a7eb0e into eifinger:main Jan 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hassfest fails because of url in strings.json

2 participants