I am developing a new component that allows to integrate Magic Switchbot devices, similar to others like the “Switchbot”. It uses BLE (Bluetooth Low Energy) and has 2 modes:
It allows us to push momentary switches. It presses for a second and then retracts its little “finger”.
With the help of a “hook” that you can stick, it has 2 states: “On” state presses and stays there and “Off” state pulls from the hook and lets the original switch to deactivate.
The component creates the new switch integration “magicswitchbot” and also publishes a service that allows us to activate the “push” mode.
You can follow the progress of the component in my GitHub repository:
You can test the component witch HACS using this as a “custom repository”.
NEWS: the component is now part of the “default” HACS repositories. You don’t need to add it as custom repository any more.
Also there’s a Python library I developed that’s used internally by the component and can be used on other projects. There’s a lot of documentation here:
I hope it works for you.