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

Netatmo oh3 update #3

Closed
wants to merge 18 commits into from
Closed

Netatmo oh3 update #3

wants to merge 18 commits into from

Conversation

wzbfyb
Copy link

@wzbfyb wzbfyb commented May 11, 2021

No description provided.

clinique and others added 18 commits January 19, 2021 14:16
Signed-off-by: clinique <[email protected]>
Signed-off-by: clinique <[email protected]>
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]>
@wzbfyb wzbfyb requested a review from clinique as a code owner May 11, 2021 12:37
Copy link
Owner

@clinique clinique left a 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;
Copy link
Owner

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

return rooms;
}
public @Nullable NARoom getRoom(String key) {
return rooms.get(key);
Copy link
Owner

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

@clinique clinique force-pushed the Netatmo_OH3_update branch from b5d6129 to 3296833 Compare May 25, 2021 15:01
@clinique clinique closed this Jun 2, 2021
clinique added a commit that referenced this pull request Nov 1, 2024
Signed-off-by: Gaël L'hopital <[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