Skip to content
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

[basicprofiles] Fix division-by-zero error in $DELTA_PERCENT state filter #18089

Merged
merged 5 commits into from
Feb 9, 2025

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Jan 11, 2025

This should also be backported

@jimtng jimtng added awaiting other PR Depends on another PR bug An unexpected problem or unintended behavior of an add-on labels Jan 11, 2025
@jimtng jimtng marked this pull request as ready for review January 11, 2025 14:05
@jimtng jimtng requested a review from J-N-K as a code owner January 11, 2025 14:05
Copy link
Contributor

@andrewfg andrewfg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jimtng
Copy link
Contributor Author

jimtng commented Jan 24, 2025

rebased and ready

@jimtng jimtng force-pushed the statefilter-deltapercent-divzero branch from d844ddd to 9eea794 Compare January 24, 2025 13:46
@jimtng
Copy link
Contributor Author

jimtng commented Jan 24, 2025

rebased again to resolve conflicts

@andrewfg andrewfg requested a review from a team February 1, 2025 18:40
@jimtng jimtng force-pushed the statefilter-deltapercent-divzero branch from 9eea794 to 0e07cd4 Compare February 3, 2025 05:48
@jimtng
Copy link
Contributor Author

jimtng commented Feb 3, 2025

Rebased + removed duplicate tests

Signed-off-by: Jimmy Tanagra <[email protected]>
Signed-off-by: Jimmy Tanagra <[email protected]>
Copy link
Contributor

@andrewfg andrewfg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@andrewfg andrewfg requested a review from lolodomo February 3, 2025 12:44
Signed-off-by: Jimmy Tanagra <[email protected]>
@andrewfg andrewfg requested a review from a team February 4, 2025 19:10
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not understanding the functional of this PR but code looks good.

@lolodomo lolodomo merged commit 1650591 into openhab:main Feb 9, 2025
2 checks passed
@lolodomo lolodomo added this to the 5.0 milestone Feb 9, 2025
@jimtng jimtng deleted the statefilter-deltapercent-divzero branch February 9, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants