Skip to content

Commit

Permalink
Rebase Master (#7)
Browse files Browse the repository at this point in the history
* Fix retrieve_hub_info error when post fails and returns None

Fix issue in retrieve_hub_info if post fails returning None instead of a response object.

* Ensure connect can also handle response of None

Ensure connect can handle a response of None as well from retrieve_hub_info

* Fixed lint issues

* Update readme to include release notes

Updated readme to include release notes.

* Fix for failures on send_command

Fix for exception if send_command fails for some reason.

* Remove OK results for send_commands

Filter out response code 200 results returned from HUB for sending commands.

* Sleep for reconnect from 10 to 5 seconds

Changed sleep for reconnect from 10 to 5 seconds.
Added some return typing and few lint fixes.

* Fixed not equal

Should have tested first. Wrong not equal for Python.

* Set reconnect sleep time back to 10 seconds. Upon disconnect a reconnect is tried automatically.

* Change error logging on reconnect
On reconnects only log errors first time of connect, all other
times do not log any errors anymore.

* Debug logs on reconnect after 1st retry

On reconnect, if retry for connecting fails then any further tries will be logged at DEBUG level.

* Update to version 0.1.6

* Handle if no config or no activities/devices

Prevent traceback if there is config or the config has no activities or so.

* Retrieve current activity after config

Ensure that current activity is only retrieved after the configuration is retrieved. Doing in parallel sometimes resulted in activity being retrieved before config. Seemed to cause some issues for some hubs.

* Increase version to 0.1.7

Increase version to 0.1.7

* Fixed some lint issues

* Updated release notes

Updated release notes

* Removed folder

* Update gitignore
  • Loading branch information
ehendrix23 authored Feb 1, 2019
1 parent 3bf06ca commit e034901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ celerybeat-schedule
.venv
env/
venv/
venv3.7/
ENV/
env.bak/
venv.bak/
Expand Down

0 comments on commit e034901

Please sign in to comment.