Fix for track_new_devices BC#11202
Conversation
| track_new = conf.get(CONF_TRACK_NEW, DEFAULT_TRACK_NEW) | ||
|
|
||
| defaults = conf.get(CONF_NEW_DEVICE_DEFAULTS, {}) | ||
| track_new = conf.get(CONF_TRACK_NEW) if conf.get(CONF_TRACK_NEW) \ |
There was a problem hiding this comment.
I'm not a fan of inline if. Can you write it out?
|
Hello @masarliev, When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es). The commits that are missing a linked GitHub account are the following:
Unfortunately, we are unable to accept this pull request until this situation is corrected. Here are your options:
We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community. Thanks, I look forward to checking this PR again soon! ❤️ |
|
Thanks 🐬 |
Description:
Backward compatibility fix for
track_new_devicesRelated issue (if applicable): fixes #11184
Checklist:
If the code communicates with devices, web services, or third-party tools:
toxrun successfully. Your PR cannot be merged unless tests pass