Add support for Tapo lock device DL110 and implement lock control features by cristian-rincon · Pull Request #1646 · python-kasa/python-kasa

@cristian-rincon Huge thanks for pulling this together. I would suggest instead of making it a SMARTCAM device, it be under just the SMART device category. You may need to make adjustments to the device_factory.py and discover.py to handle making sure the correct protocol and transport are used since it looks like this device_type uses the SSL AES Transport, but there should be a clear separation here since it is not a camera at all.

Also, when submitting, making sure that all checks pass is best.

To help with submissions, in your local repository folder run these commands following commands:

uv sync --all-extras
uv run pre-commit run -a
uv run pytest -n auto --cov kasa --cov-report xml

That will setup a local Python .venv and run all the test coverages and make sure the code is following existing guidelines. You can fix errors and make sure all lines of code are covered for CodeCov as well.