-
-
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
[danfossairunit] Add filter period channel #11371
[danfossairunit] Add filter period channel #11371
Conversation
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.
Besides the issue with retrieving the max filter period the changes look good to me. But under the circumstances (I think it might even be a bug in the CCM), using fixed values seems reasonable - at least they are the correct ones then.
Thanks also for giving the documentation samples a polish.
@pravussum - I left some more thoughts in the linked issue. Right now I'm thinking having the channel provides most flexibility, and it would be possible to write a rule with a RemainingFilterLife proxy item that could be updated only when receiving recalculated value having the desired filter period set. |
@Skinah - I saw you added label two days ago, would it be possible for you to schedule a rebuild or add the rebuild tag as last build failed for reasons unrelated to changes in this PR? |
...danfossairunit/src/main/java/org/openhab/binding/danfossairunit/internal/DanfossAirUnit.java
Outdated
Show resolved
Hide resolved
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.
LGTM
Fixes openhab#11310 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
…cts. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
…n' contribution description. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3fb6458
to
d05a198
Compare
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.
LGTM
All the new PR's are failing at the moment so it is probably a build system issue, when new PR's pass again it will be worth triggering a rebuild then otherwise it will just chew up the servers time if we expect it to fail not due to your code. |
I tried after maintainers were informed the build problem could have been solved. |
@jlaur : I see you have discussion about the documentation in the issue. Is there still something to change in the documentation or is it finished and ready for a merge ? |
No further documentation plans from my side, as only one channel is exposed and there's already a warning about value being overwritten. If @pravussum would have any ideas for further documentation improvements, I can prepare another PR. |
Thank you |
* Add filter period channel. Fixes openhab#11310 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Round remaining filter life percentage to one decimal. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Improve and extend example configuration. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Mark filter period channel as advanced due to Link CC/Air Dial conflicts. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Add comment about value getting overwritten. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Remove redundant parentheses. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA report: First javadoc author should have 'Initial contribution' contribution description. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA issue: NoEmptyLineSeparatorCheck Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
* Add filter period channel. Fixes openhab#11310 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Round remaining filter life percentage to one decimal. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Improve and extend example configuration. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Mark filter period channel as advanced due to Link CC/Air Dial conflicts. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Add comment about value getting overwritten. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Remove redundant parentheses. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA report: First javadoc author should have 'Initial contribution' contribution description. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA issue: NoEmptyLineSeparatorCheck Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Nick Waterton <n.waterton@outlook.com>
* Add filter period channel. Fixes openhab#11310 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Round remaining filter life percentage to one decimal. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Improve and extend example configuration. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Mark filter period channel as advanced due to Link CC/Air Dial conflicts. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Add comment about value getting overwritten. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Remove redundant parentheses. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA report: First javadoc author should have 'Initial contribution' contribution description. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA issue: NoEmptyLineSeparatorCheck Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add filter period channel. Fixes openhab#11310 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Round remaining filter life percentage to one decimal. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Improve and extend example configuration. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Mark filter period channel as advanced due to Link CC/Air Dial conflicts. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Add comment about value getting overwritten. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Remove redundant parentheses. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA report: First javadoc author should have 'Initial contribution' contribution description. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA issue: NoEmptyLineSeparatorCheck Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add filter period channel. Fixes openhab#11310 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Round remaining filter life percentage to one decimal. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Improve and extend example configuration. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Mark filter period channel as advanced due to Link CC/Air Dial conflicts. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Add comment about value getting overwritten. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Remove redundant parentheses. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA report: First javadoc author should have 'Initial contribution' contribution description. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> * Fix SCA issue: NoEmptyLineSeparatorCheck Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Fixes #11310
Signed-off-by: Jacob Laursen jacob-github@vindvejr.dk
Add new channel filter_life for number of months between filter replacements.