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

Fix arlo intilization when no base station available #16529

Merged
merged 4 commits into from
Sep 11, 2018

Conversation

zellux
Copy link
Contributor

@zellux zellux commented Sep 10, 2018

Description:

Currently arlo component always check if base station is included in PyArlo return object. However, in case user does not allow full control of base station, or only cameras are available, arlo initialization will fail. This diff should fix it.

Related issue (if applicable): #15026

Cases tested:

  • When both base station and cameras are available, Arlo plugin should work.
  • When only cameras are available (no base station return), Arlo cameras should still work.
  • When no cameras or base station are returned, an error message No camera or base station available. was shown in the log.

@homeassistant
Copy link
Contributor

Hi @zellux,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@ghost ghost added the in progress label Sep 10, 2018
@zellux zellux changed the title Fix arlo intilization when no base station Fix arlo intilization when no base station available Sep 10, 2018
Copy link
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to merge when tests fixed

@zellux
Copy link
Contributor Author

zellux commented Sep 10, 2018

CI has passed (https://travis-ci.org/home-assistant/home-assistant/builds/426783190) but status has not been updated on GitHub yet, is it a known issue?

@zellux zellux closed this Sep 10, 2018
@ghost ghost removed the in progress label Sep 10, 2018
@zellux zellux reopened this Sep 10, 2018
@ghost ghost added the in progress label Sep 10, 2018
@balloob balloob added this to the 0.78.0 milestone Sep 11, 2018
@balloob balloob merged commit 6b08e6e into home-assistant:dev Sep 11, 2018
@ghost ghost removed the in progress label Sep 11, 2018
@balloob
Copy link
Member

balloob commented Sep 11, 2018

Awesome work! Will be included in Home Assistant 0.78

balloob pushed a commit that referenced this pull request Sep 11, 2018
* Fix arlo intilization when no base station

* Fix pylint for empty camera check

* Fix typo

* Minor change to trigger CI again
@balloob balloob mentioned this pull request Sep 17, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants