-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[knx] Refactor manufacturer map #15297
Conversation
This makes adding new manufacturers easy. Signed-off-by: Jan N. Klug <github@klug.nrw>
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.
Thanks, @J-N-K, for completing this.
I am missing 2 manufacturers which are not contained in the new file:
34 = eVoKNX
373 = ZF Friedrichshafen AG
Did you consider smarthomej/addons#371? |
Signed-off-by: Jan N. Klug <github@klug.nrw>
The other code is more generic and there are more things that can go wrong. I omitted the error handling for cases that cannot occur in this version. |
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.
Thanks for clarification, LGTM
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.
Thanks!
* [knx] Refactor manufacturer map This makes adding new manufacturers easy. Signed-off-by: Jan N. Klug <github@klug.nrw>
* [knx] Refactor manufacturer map This makes adding new manufacturers easy. Signed-off-by: Jan N. Klug <github@klug.nrw> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
This makes adding new manufacturers easy and is the last improvement that was missing for the re-integration of the KNX binding.