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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use common strings for Harmony config flow #41094
Use common strings for Harmony config flow #41094
Conversation
Hey there @ehendrix23, @bramkragten, @bdraco, mind taking a look at this pull request as its been labeled with an integration ( |
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks 馃憤
@@ -19,7 +19,7 @@ | |||
"unknown": "[%key:common::config_flow::error::unknown%]" | |||
}, | |||
"abort": { | |||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]" | |||
"already_configured_device": "[%key:common::config_flow::abort::already_configured_device%]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted. The key needs to be already_configured
to map to our helper method that aborts the flow if an existing entry has the same unique id.
This is an exception where the key can't match the the common string key.
* Use common strings for harmony component * Update homeassistant/components/harmony/strings.json Co-authored-by: springstan <46536646+springstan@users.noreply.github.com> * use default key for common config flow strings Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
Breaking change
Proposed change
Use of reference strings in Harmony config flow. See #40578
Type of change
Example entry for
configuration.yaml
:# Example configuration.yaml
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: