-
-
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
[ihc] Changed pulse command to use scheduling #5417
Conversation
Also changed couple of list iterators to streams. Signed-off-by: Pauli Anttila <[email protected]>
logger.warn("Channel {} update to resource '{}' failed.", channelUID, valOff); | ||
} | ||
} catch (IhcExecption e) { | ||
logger.error("Can't update channel '{}' value, cause ", channelUID, e.getMessage(), e); |
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.
Can you change log levels from error to warn in a follow up PR? That would be really great.
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.
Yes I can do it, but I made quick search to openhab2 addons project and there seems to be almost 1500 error levels used over 100 bindings 😃
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.
Yup. They are all wrong. But good point, need to be automatically replaced.
See also my PR on the contribution page: openhab/openhab-docs#933
Also changed couple of list iterators to streams. Signed-off-by: Pauli Anttila <[email protected]>
Also changed couple of list iterators to streams. Signed-off-by: Pauli Anttila <[email protected]> Signed-off-by: Pshatsillo <[email protected]>
Also changed couple of list iterators to streams. Signed-off-by: Pauli Anttila <[email protected]> Signed-off-by: Maximilian Hess <[email protected]>
Also changed couple of list iterators to streams.
Signed-off-by: Pauli Anttila [email protected]