Skip to content

Add new camera models (and the concept of an "Outdoor Camera") - #250

Merged
bachya merged 14 commits into
bachya:devfrom
Abductist:patch-1
Sep 27, 2021
Merged

bachya merged 14 commits into
bachya:devfrom
Abductist:patch-1

Conversation

@Abductist

@Abductist Abductist commented Aug 15, 2021 •

Copy link
Copy Markdown

Added in the model type of the 1080p version of the SimpliCam

Describe what the PR does:

Does this fix a specific issue?

Fixes https://github.com/bachya/python-simplisafe/issues/

Checklist:

  • Confirm that one or more new tests are written for the new functionality.
  • Run tests and ensure everything passes (with 100% test coverage).
  • Update README.md and docs/ with any new documentation.
  • Add yourself to AUTHORS.md.

Added in the model type of the 1080p version of the SimpliCam
bachya
bachya previously approved these changes Aug 15, 2021

@bachya bachya left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you!

@bachya
bachya self-requested a review August 15, 2021 04:42
@bachya
bachya dismissed their stale review August 15, 2021 04:43

Not ready

Comment thread simplipy/camera.py Outdated
Removed the CAMERA_MODEL_CAMERA_1080 constant. Added the new outdoor camera's model type.

@Abductist Abductist left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added the new outdoor camera's model type to this request

Added the new outdoor camera's entity id number
@bachya bachya changed the title Update camera.py Add new camera models (and the concept of an "Outdoor Camera") Sep 27, 2021
dependabot Bot and others added 9 commits September 27, 2021 15:28
* Update sphinx-rtd-theme requirement from ^0.5.0 to ^1.0.0

Updates the requirements on [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) to permit the latest version.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](readthedocs/sphinx_rtd_theme@0.5.0...1.0.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Bach <[email protected]>
* Re-architect library

* Update docs
Added in the model type of the 1080p version of the SimpliCam
Removed the CAMERA_MODEL_CAMERA_1080 constant. Added the new outdoor camera's model type.
Added in the model type of the 1080p version of the SimpliCam
Removed the CAMERA_MODEL_CAMERA_1080 constant. Added the new outdoor camera's model type.
@bachya bachya added the enhancement Enhancement of the code, not introducing new features. label Sep 27, 2021
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 612430f and detected 0 issues on this pull request.

View more on Code Climate.

@codecov

codecov Bot commented Sep 27, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #250 (612430f) into dev (c062b72) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               dev      #250   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          713       715    +2     
=========================================
+ Hits           713       715    +2     
Impacted Files Coverage Δ
simplipy/device/__init__.py 100.00% <100.00%> (ø)
simplipy/device/camera.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c062b72...612430f. Read the comment docs.

@bachya bachya left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you!

@bachya
bachya merged commit 6d3b1de into bachya:dev Sep 27, 2021
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement Enhancement of the code, not introducing new features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants