This is a custom component for Home Assistant to integrate your Niu Scooter.
Forked by https://github.com/marcelwestrahome/home-assistant-niu-component
Now this integration is asynchronous and it is easy installable via config flow.
- Now it will generate automatically a Niu device so all the sensors and the camera will grouped
- If you select the Last track sensor automatically it will create a camera integration, with the rendered image of your last track.
You can install this custom component by adding this repository (https://github.com/pikka97/home-assistant-niu-component) to HACS in the settings menu of HACS first. You will find the custom component in the integration menu afterwards, look for 'Niu Scooter Integration'. Alternatively, you can install it manually by copying the custom_components
folder to your Home Assistant configuration folder.
- In Home Assistant's settings under "device and services" click on the "Add integration" button.
- Search for "Niu Scooters" and click on it.
- Insert your Niu app companion's credentials and select which sensors do you want.
- Enjoy your new Niu integration :-)
See https://github.com/marcelwestrahome/home-assistant-niu-component repository