jbergler / hass-ttlock

Home Assistant integration for TTLock locks
53 stars 11 forks source link

Add services to create new pass codes and delete outdated pass codes #79

Closed PedroDelCargo closed 7 months ago

PedroDelCargo commented 7 months ago

I have added 2 new services: First one to create new pass codes. Second one to delete outdated temporary pass codes.

Closes #77

codecov[bot] commented 7 months ago

Codecov Report

Attention: 40 lines in your changes are missing coverage. Please review.

Comparison is base (2622bb6) 74.40% compared to head (97cb7fb) 70.55%.

:exclamation: Current head 97cb7fb differs from pull request most recent head ac93279. Consider uploading reports for the commit ac93279 to get more accurate results

Files Patch % Lines
custom_components/ttlock/api.py 12.00% 22 Missing :warning:
custom_components/ttlock/services.py 28.00% 18 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #79 +/- ## =========================================== - Coverage 74.40% 70.55% -3.86% =========================================== Files 13 13 Lines 633 686 +53 =========================================== + Hits 471 484 +13 - Misses 162 202 +40 ```

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

jbergler commented 7 months ago

Merged via #81