Home assistant integration based on your library
Describe the question you have - 質問の内容
Just in case anyone is interested I made a home assistant custom integration with this library.
You can find it here: https://github.com/dragouf/sesame_lock_homeassistant
It is compatible with sesame 5 devices (pro included).
You just need to copy the root content of the repository to config/custom_components/sesame_lock then restart home assistant and go to integration and search for sesame. Name of the integration is Sesame Smart Lock 3/4/5.
You will need your api key, device uuid (found inside mobile app) and device secret (found by sending device QR code to api admin website).
it use CognitoAuth to get lock status and battery so it should avoid to much api request.
it's the first version, it may contain some bugs but it is working fine for me though.
The only minor bug I was not able to fix was to display correctly config flow label (the form show when setting up the integration). If anyone can help for that you are welcome.
Additional context - その他
No response
Pysesame3 version (pip show pysesame3)
0.6.0
Python version (python --version)
3.11
OS
linux