bdraco / yalexs

Python API for Yale Access (formerly August) Smart Lock and Doorbell
MIT License
38 stars 18 forks source link

fix: removing polling fallback #168

Closed bdraco closed 2 weeks ago

bdraco commented 2 weeks ago

If pubnub cannot get connected we would fallback to polling which would create too many API requests. Instead log about the problem.

For Yale Home/Global, we are about to switch to websockets so this should never be a problem again.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 64.33%. Comparing base (9548850) to head (ec3144e). Report is 2 commits behind head on main.

Files Patch % Lines
yalexs/manager/activity.py 0.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #168 +/- ## ========================================== - Coverage 64.45% 64.33% -0.13% ========================================== Files 30 30 Lines 2141 2145 +4 Branches 377 378 +1 ========================================== Hits 1380 1380 - Misses 710 713 +3 - Partials 51 52 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.