Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing space from string in const.py #1146

Merged

Conversation

marazmarci
Copy link
Contributor

@marazmarci marazmarci commented Jan 1, 2025

The Validate with hassfest workflow is constantly failing since Sep 26th with the following error message:

[TRANSLATIONS] Invalid translations/en.json: the string should not contain leading or trailing spaces for dictionary value @ data['options']['step']['init']['data']['adapt_only_on_bare_turn_on']. Got 'adapt_only_on_bare_turn_on: When turning lights on initially. If set to `true`, AL adapts only if `light.turn_on` is invoked without specifying color or brightness. ❌🌈 This e.g., prevents adaptation when activating a scene. If `false`, AL adapts regardless of the presence of color or brightness in the initial `service_data`. Needs `take_over_control` enabled. 🕵️ '

The error message is the same ever since for every other failed workflow run.

My small change aims to fix the issue, hopefully making the workflow succeed.

(caused by home-assistant/core#126446)

@marazmarci marazmarci requested a review from basnijholt as a code owner January 1, 2025 13:08
@basnijholt basnijholt merged commit 6d517fc into basnijholt:main Jan 1, 2025
1 check passed
@basnijholt
Copy link
Owner

@all-contributors add @marazmarci for code

Copy link
Contributor

@basnijholt

I've put up a pull request to add @marazmarci! 🎉

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