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

[ihc] Changed pulse command to use scheduling #5417

Merged
merged 1 commit into from
Apr 9, 2019

Conversation

paulianttila
Copy link
Contributor

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]>
logger.warn("Channel {} update to resource '{}' failed.", channelUID, valOff);
}
} catch (IhcExecption e) {
logger.error("Can't update channel '{}' value, cause ", channelUID, e.getMessage(), e);
Copy link
Member

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.

Copy link
Contributor Author

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 😃

Copy link
Member

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

@davidgraeff davidgraeff merged commit a1bbfc6 into openhab:master Apr 9, 2019
@wborn wborn added this to the 2.5 milestone Apr 14, 2019
mherwege pushed a commit to mherwege/openhab-addons that referenced this pull request May 10, 2019
Also changed couple of list iterators to streams.

Signed-off-by: Pauli Anttila <[email protected]>
Pshatsillo pushed a commit to Pshatsillo/openhab-addons that referenced this pull request Jun 19, 2019
Also changed couple of list iterators to streams.

Signed-off-by: Pauli Anttila <[email protected]>
Signed-off-by: Pshatsillo <[email protected]>
ne0h pushed a commit to ne0h/openhab-addons that referenced this pull request Sep 15, 2019
Also changed couple of list iterators to streams.

Signed-off-by: Pauli Anttila <[email protected]>
Signed-off-by: Maximilian Hess <[email protected]>
@paulianttila paulianttila deleted the ihc-improvements branch March 14, 2020 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants