-
-
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
[enocean] Added support for Heat Recovery Ventilation devices (#9465) #9468
[enocean] Added support for Heat Recovery Ventilation devices (#9465) #9468
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.
Otherwise LGTM
...ding.enocean/src/main/java/org/openhab/binding/enocean/internal/EnOceanBindingConstants.java
Outdated
Show resolved
Hide resolved
public static final String CHANNEL_EXHAUSTAIRFANAIRFLOWRATE = "exhaustAirFanAirFlowRate"; | ||
public static final String CHANNEL_SUPPLYFANSPEED = "supplyFanSpeed"; | ||
public static final String CHANNEL_EXHAUSTFANSPEED = "exhaustFanSpeed"; | ||
|
||
public static final Map<String, EnOceanChannelDescription> CHANNELID2CHANNELDESCRIPTION = Collections |
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.
Use Map.of
here
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.
As I have more than 10 entries here, I am using Map.ofEntries, hope this is the expected way
...nhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_50/D2_50.java
Outdated
Show resolved
Hide resolved
...n/src/main/java/org/openhab/binding/enocean/internal/handler/EnOceanBaseActuatorHandler.java
Outdated
Show resolved
Hide resolved
@J-N-K Thanks a lot for your review. Your comments also revealed an error in my vscode settings 👍 IDE said JDK11 is used but my settings pointed to JDK8 path. So I could not use these "of" functions. As every year: How do we proceed with the license header of the newly added files? Should I already update it to 2021 (Jenkis build will fail) or do you update it during the merge? |
You can rebase your branch, then the headers you didn't touch are updated automatically. If you added new code files, you can run Here are the commands for rebasing your branch: If not already done, add the upstream openHAB addon repo as a remote to your local repo and fetch it:
Then, you can rebase your PR's branch onto
Finally force-push the rebased branch to this PR's branch:
|
...nhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_50/D2_50.java
Outdated
Show resolved
Hide resolved
...nhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_50/D2_50.java
Show resolved
Hide resolved
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_50/D2_50_00.java
Outdated
Show resolved
Hide resolved
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_50/D2_50_01.java
Outdated
Show resolved
Hide resolved
...b.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_50/D2_50_10.java
Outdated
Show resolved
Hide resolved
…b#9465) * Implemented EEP family D2_50 * Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]>
…b#9465) * code refactoring (JAVA11 improvements) Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]>
e70812b
to
e2561d5
Compare
…b#9465) * Removed unnecessary EEP classes * Made final fields static * Added @NonNullByDefault to EEP Class Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]>
…b#9465) * Removed @NonNullByDefault to not mess up PR with non related changes Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]>
@cpmeister Thanks a lot for your review comments. I hope I have resolved all problems now. I would like to address this NonNullByDefault point in a seperate PR, if this is ok. @fwolter Thanks a lot for your hints regarding rebasing. |
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
…b#9465) (openhab#9468) * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Implemented EEP family D2_50 * Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * code refactoring (JAVA11 improvements) Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Removed unnecessary EEP classes * Made final fields static * Added @NonNullByDefault to EEP Class Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Removed @NonNullByDefault to not mess up PR with non related changes Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]> Signed-off-by: John Marshall <[email protected]>
…b#9465) (openhab#9468) * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Implemented EEP family D2_50 * Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * code refactoring (JAVA11 improvements) Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Removed unnecessary EEP classes * Made final fields static * Added @NonNullByDefault to EEP Class Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Removed @NonNullByDefault to not mess up PR with non related changes Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]>
…b#9465) (openhab#9468) * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Implemented EEP family D2_50 * Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * code refactoring (JAVA11 improvements) Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Removed unnecessary EEP classes * Made final fields static * Added @NonNullByDefault to EEP Class Fixes openhab#9465 * [enocean] Added support for Heat Recovery Ventilation devices (openhab#9465) * Removed @NonNullByDefault to not mess up PR with non related changes Fixes openhab#9465 Signed-off-by: Daniel Weber <[email protected]>
Fixes #9465
Signed-off-by: Daniel Weber [email protected]