-
Notifications
You must be signed in to change notification settings - Fork 5
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
Netatmo oh3 update #3
Conversation
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
…her station discovery Signed-off-by: clinique <[email protected]>
Trying to spot wrong/redundant updates of persons/cameras Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
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.
First draft review. Once you'll have reactivate sat tests, you'll find many things to address. Thanks for your work.
@@ -35,6 +35,8 @@ | |||
private List<NAHomeEvent> events = List.of(); | |||
private List<NAThermProgram> thermSchedules = List.of(); | |||
private List<NAWelcome> cameras = List.of(); | |||
|
|||
private @Nullable NAObjectMap<NARoom> rooms; |
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.
I would prefer having this non null with an empty list like the other above
...enhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/NAHome.java
Show resolved
Hide resolved
return rooms; | ||
} | ||
public @Nullable NARoom getRoom(String key) { | ||
return rooms.get(key); |
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.
Subject to NPE if rooms is null
...binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/NAHomeStatus.java
Show resolved
Hide resolved
...enhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/NARoom.java
Show resolved
Hide resolved
....binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/energy/Home.java
Show resolved
Hide resolved
...ng.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/energy/Homestatus.java
Show resolved
Hide resolved
...ng.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/energy/Homestatus.java
Show resolved
Hide resolved
...inding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/energy/Module.java
Show resolved
Hide resolved
b5d6129
to
3296833
Compare
Signed-off-by: Gaël L'hopital <[email protected]>
No description provided.