Thanks to @sammyke007 in #26 for patiently waiting for this feature, you should now be able to 'toggle' the light(-mode; see README for details) on your bike as well as Lock/Unlock it with a switch.
Overview of changes
- Add Lock switch as requested (note the readme, it 'bounces' after toggling, known issue)
- Add Light switch (as it was easier for testing than lock)
- Improve code quality and adhere to Core requirements (i.e. UnitOfX, use of translation_keys and more)
- Start with improvements of imports and typing