Skip to content

Conversation

ehendrix23
Copy link
Collaborator

  • Enforce Python 3.8 or higher for pypi
  • New MyQAccount class that then contains all devices associated with that account (no more unknown device warnings)
  • Unknown devices are now added as a device
  • Fix issue in example.py if sending command to close cover fails
  • Retrieving user agent from GutHub and setting is now done upon start and re-done when status 400 received (limited to once per hour).

ehendrix23 and others added 29 commits February 11, 2021 14:33
devices for the account within that account class
* Update development requirements

* Fix development requirements

* Create requirements_test

* Add pytest-cov

* Add pytest-timeout

* Fix User Agent issue again
Bumps [isort](https://github.com/pycqa/isort) from 5.7.0 to 5.9.3.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](PyCQA/isort@5.7.0...5.9.3)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.10.1 to 2.14.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.10.1...v2.14.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.7b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@ehendrix23 ehendrix23 merged commit eaaedc8 into master Aug 9, 2021
ehendrix23 added a commit that referenced this pull request Aug 9, 2021
* Creation of Account class and putting
devices for the account within that account class

* Account class

* Change account_id to id

* Updated due to account_id to id change

* Update README for new MyQAccount class

* Moved logic of device update into MyQDevice class

* Fix for sending commands

* Updating devices failed

* Fix authentication by re-adding User Agent logic (#85)

* Update development requirements

* Fix development requirements

* Create requirements_test

* Add pytest-cov

* Add pytest-timeout

* Fix User Agent issue again

* Update version

* Changed logger items back to lazy % formatting

* Move useragent into Request and pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* Updated example to use account object

* More pre-commit

* Empty out user agent

* If .USERAGENT file is empty then don't set it in
header

* Add unknown devices

* Fixed race condition when opening/closing in rapid
fashion.

* Update to v3.1.0b6

* Changed back to no intermediate state

* Only need to lock once we send, not before

* Set version to 3.1.0

* Bump isort from 5.7.0 to 5.9.3 (#114)

Bumps [isort](https://github.com/pycqa/isort) from 5.7.0 to 5.9.3.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](PyCQA/isort@5.7.0...5.9.3)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pre-commit from 2.10.1 to 2.14.0 (#115)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.10.1 to 2.14.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.10.1...v2.14.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump black from 20.8b1 to 21.7b0 (#113)

Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.7b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant