Commit Graph
78 Commits
Author SHA1 Message Date
Kevin Fronczak 1daf5d22af Fix lint, remove some camera tests 2019-01-25 20:51:14 -05:00
Kevin Fronczak 2ee2ae7d4e Add calibrated temperature property (fixes #133) 2019-01-02 11:35:40 -05:00
Kevin Fronczak 5a8af75a5b Added cameras dict to blink to keep track of ALL cameras 2018-11-23 17:47:44 -05:00
Kevin Fronczak ed25745deb Added case insesnitive dict, changed sync module name to network name
(to mimic app)
2018-11-23 16:36:17 -05:00
Kevin Fronczak a1fd05735e Initial support for multiple sync modules 2018-11-23 14:22:54 -05:00
Kevin Fronczak 1e0d069dcd Fix linting errors 2018-11-20 21:16:41 -05:00
Kevin Fronczak a6e02433b6 Fix #113 2018-11-20 21:12:12 -05:00
Kevin Fronczak d17183a152 Fixed broken sync module test 2018-11-19 12:42:54 -05:00
md-reddevilandGitHub cec6035d23 fix tests after API changes 2018-11-18 14:01:22 +02:00
Kevin Fronczak 1a12eb367f Added additional re-auth attempt in try/except 2018-10-18 12:49:18 -04:00
Kevin Fronczak f61f68a5c2 Fix reauthorization bug 2018-10-18 12:23:23 -04:00
Kevin Fronczak 3af105edf5 Check for 'None' clip before saving to cache 2018-10-16 15:26:15 -04:00
Kevin Fronczak 5057592b0d Fix blink_functions test 2018-10-16 13:52:09 -04:00
Kevin Fronczak 13bb819e07 Added network checking 2018-10-16 13:28:44 -04:00
Kevin Fronczak eefa9252e5 [WIP] Adding in network checking 2018-10-16 12:27:57 -04:00
Kevin Fronczak 1b9bba7c3d Modified tests, added homescreen thumbnail backup Fixes #93 2018-10-15 20:52:05 -04:00
Kevin Fronczak f7a5b5cc03 Tests now working
- Simplified tests a bit
2018-10-14 00:12:44 -04:00
Kevin Fronczak a1082812bb Modified tests to pass with session
- Added session mock
- Removed post and get mocks
- Modified the throttling for events and summary
    - Now they're throttled, but it's overridden during a system refresh
- Store the login url in a protected variable
2018-09-27 15:10:48 -04:00
Kevin Fronczak 1b1235210e Split up tests, added cache test 2018-09-27 11:07:31 -04:00
Kevin Fronczak a570413e66 Fixed broken tests...probably should re-write them 2018-09-26 12:11:41 -04:00
Kevin Fronczak 3e23374b32 Modified requests so cameras only talk to sync 2018-09-26 11:09:51 -04:00
Kevin Fronczak 1c6a5eb6c6 Fixed tests. Need to improve mocking in functions test. 2018-09-25 16:02:59 -04:00
Kevin Fronczak 40e9e4bd6c Fixed camera tests 2018-09-25 14:31:23 -04:00
Kevin Fronczak e1ff851068 First cut of refactoring 2018-09-25 14:16:14 -04:00
Kevin Fronczak 672f59ab4e Added image and video caching 2018-09-25 12:03:32 -04:00
Kevin Fronczak 72c36d8381 revert tests 2018-09-24 22:27:42 -04:00
Kevin Fronczak 9ce09b4761 Fix thumbnails grabbing wrong date 2018-09-24 21:24:21 -04:00
Kevin Fronczak 8c94305804 Fix motion detection
- Use an array of recent video clips to determine if motion has been
detected.
- Reset the value every system refresh
2018-09-24 13:17:15 -04:00
Kevin FronczakandGitHub 0e63e97a57 Remove whitespace 2018-08-09 09:27:36 -04:00
Kevin FronczakandGitHub e4a21964d2 Fix useless-import-alias 2018-08-09 09:26:22 -04:00
Kevin FronczakandGitHub 39ad37f23b Fix pylint errors
- change if comparison to fix (consider-using-in)
- Disabled no else-if-return check
2018-08-09 09:25:42 -04:00
Kevin Fronczak 389745533c Add celcius property for cameras 2018-05-21 11:12:32 -04:00
Kevin Fronczak 91a877da79 Fix tests, updated changes in changelog 2018-05-21 10:54:32 -04:00
Kevin Fronczak 623b694c78 Added attributes property to camera object 2018-02-08 16:16:23 -05:00
Kevin Fronczak 7162ea24cc Added authentication to login function and deprecated setup_system 2018-02-08 15:31:26 -05:00
Kevin Fronczak ce6dec50cd Fixed requirement issue causing tox failure
- Updated camera test to check for new status change
- Added updated to CHANGES.rst
2018-02-03 09:50:08 -05:00
B10m 87643ddcab Reflect changes in tests 2018-02-03 01:11:27 +01:00
Kevin Fronczak 63c0e11cc9 Fix linting error 2018-01-20 19:57:06 -05:00
Kevin Fronczak 7347d03f93 Added case-sensitive test, logged all changes 2018-01-20 19:53:27 -05:00
Kevin Fronczak fffb10d7e6 Refactored unit tests for special functions 2018-01-20 19:41:15 -05:00
Kevin Fronczak 91b3de1444 Refactored requests, expanded video retreival
- Removed blinkpy.last_motion()
- blinkpy.get_summary() changed to blinkpy.summary property
2018-01-20 16:53:38 -05:00
Kevin Fronczak 8340f2f78a WIP Simplified unit tests 2018-01-20 15:38:37 -05:00
Kevin Fronczak e65840d269 Fix lint 2018-01-20 11:43:46 -05:00
Kevin Fronczak 71ebc3dc8a Updated links to retrieve images 2018-01-20 10:42:14 -05:00
Kevin Fronczak 261d6293dd Fix lint, upgrade pylint to 1.8.1 2018-01-19 14:38:16 -05:00
Kevin Fronczak ba03894e94 Refactored code in prep for API overhaul 2018-01-19 11:41:26 -05:00
Kevin Fronczak be68c0d714 Added case handling on camera dict 2017-06-18 18:37:19 -04:00
Kevin Fronczak ae209a37f7 Pass lint version bumps 2017-05-13 18:27:01 -04:00
Kevin Fronczak 01babca0f4 Added battery_string property to camera
Ability to detect if battery is "OK" or "Low"
2017-05-12 15:42:18 -04:00
Kevin Fronczak aeeb894ad9 Added reauth test 2017-05-12 14:46:13 -04:00