Skip to content

Insteon lib#6505

Merged
pvizeli merged 21 commits into
home-assistant:devfrom
craigjmidwinter:insteon-lib
Mar 10, 2017
Merged

Insteon lib#6505
pvizeli merged 21 commits into
home-assistant:devfrom
craigjmidwinter:insteon-lib

Conversation

@craigjmidwinter
Copy link
Copy Markdown
Contributor

Description:

updating library version (bugfixes and rate limiting)

Related issue (if applicable): fixes #

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @camrun91,

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!

@mention-bot
Copy link
Copy Markdown

@wardcraigj, thanks for your PR! By analyzing the history of the files in this pull request, we identified @flavio, @fabaff and @balloob to be potential reviewers.

"""Get the updated status of the switch."""
resp = self.node.status(0)

while 'error' in resp and resp['error'] == True:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

comparison to True should be 'if cond is True:' or 'if cond:'

"""Update state of the light."""
resp = self.node.status(0)

while 'error' in resp and resp['error'] == True:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

comparison to True should be 'if cond is True:' or 'if cond:'

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @camrun91,

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!

@pvizeli pvizeli merged commit 330d352 into home-assistant:dev Mar 10, 2017
pvizeli pushed a commit that referenced this pull request Mar 10, 2017
* use lib with caching to reduce collisions

* use 0.43

* change requirements

* update the  lib to 0.44

* update req

* fix typo

* just keep checking

* just keep checking - switch

* use 0.45 with file cache

* requirements

* Update requirements_all.txt

* Update insteon_local.py

* Update requirements_all.txt

* Update insteon_local.py

* update library

* fix lint
@balloob balloob mentioned this pull request Mar 24, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Jul 17, 2017
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.

7 participants