Improve code quality in sql integration#71705
Conversation
|
Hey there @dgomes, mind taking a look at this pull request as it has been labeled with an integration ( |
|
I haven't had a moment to investigate but I did see this post today https://community.home-assistant.io/t/2022-5-streamlining-settings/418477/438?u=bdraco Not sure if we need to do a patch for 2022.5 |
|
Tried to replicate with your patch that went into .3 and impossible so my only guess he came from one of the prior 2022.5 versions which had the issue. |
|
Should we merge here or wait for another fix PR to avoid conflicts? |
|
Do we want to do a change to add the missing CONF_NAME to the config entry options for the user that modified their options on .0, .1, and .2? Editing and saving the options flow also fixes it since it restores the name after the fix in .3 so it might not be worth it as it required user interaction to get it into the broken state so they likely know about the issue and have already resolved it after upgrading to .3 or by other means. Even if we plan on doing a patch for that, I don't think it will conflict, so I think we can merge this now. ---references--- |
Proposed change
Code clean
Partly from late review comments in #68700
Type of change
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: