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

[plugwise] Use ThingHandlerService for discovery #9041

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

wborn
Copy link
Member

@wborn wborn commented Nov 15, 2020

This simplifies the PlugwiseHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

  • fix lastRequest timestamp not updated when sending messages to discover node properties
  • use java.time Duration and Instant
  • use List.of, Set.of
  • remove redundant null suppression because of EEAs

@wborn wborn added the enhancement An enhancement or new feature for an existing add-on label Nov 15, 2020
This simplifies the PlugwiseHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

* fix lastRequest timestamp not updated when sending messages to discover node properties
* use java.time Duration and Instant
* use List.of, Set.of
* remove redundant null suppression because of EEAs

Signed-off-by: Wouter Born <[email protected]>
@wborn wborn force-pushed the plugwise-thinghandlerservice branch from 9ad4395 to 14080fa Compare November 15, 2020 21:16
@wborn wborn removed the enhancement An enhancement or new feature for an existing add-on label Nov 15, 2020
@cpmeister cpmeister merged commit 57177cc into openhab:main Nov 16, 2020
@cpmeister cpmeister added this to the 3.0.0.M3 milestone Nov 16, 2020
@wborn wborn deleted the plugwise-thinghandlerservice branch November 16, 2020 07:16
boehan pushed a commit to boehan/openhab-addons that referenced this pull request Apr 12, 2021
This simplifies the PlugwiseHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

* fix lastRequest timestamp not updated when sending messages to discover node properties
* use java.time Duration and Instant
* use List.of, Set.of
* remove redundant null suppression because of EEAs

Signed-off-by: Wouter Born <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
This simplifies the PlugwiseHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

* fix lastRequest timestamp not updated when sending messages to discover node properties
* use java.time Duration and Instant
* use List.of, Set.of
* remove redundant null suppression because of EEAs

Signed-off-by: Wouter Born <[email protected]>
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.

2 participants