-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add swing and horizontal swing to climate device #1642
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1642 +/- ##
=======================================
Coverage 96.92% 96.92%
=======================================
Files 160 160
Lines 10688 10702 +14
=======================================
+ Hits 10359 10373 +14
Misses 329 329
|
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.
Hi 👋!
Thank you very much for your contribution!
Do you plan to add this to the HA KNX integration too? The code looks perfectly fine, but I have a little concern about it in general: None of the added attributes or methods interact in any way with the rest of the These 2 swing attributes stand for their own. Thus, I think in HA we could just add 2 extra What do you think about that? |
Yes I plan on adding it to HA too. I understand your concern. However if we want to abstract a device with the climate class, we should include all possible functions within that class and not rely on logic within systems that use the library. At least thats my opinion on that. |
Currently, I think the system using the lib - HA in this case - dictates the functions it can consume. So any future extension to a HA entity model (eg. Anyway - we didn't do it that way until now, so let's leave it this way... can always be broken up later if we wanted to.
Just let me know when you are ready - so I can do an xknx release when you tested your feature with the integration code. |
Description
Add swing and horizontal swing support to climate device
Fixes #466
Type of change
Checklist