I would like to modify and test my modifications of the velux component.
Now I follow the following procedure:
- SSH into my raspberry via port 22222
- once logged in and I see the “hassio” prompt, enter login
- after login i type the following command: docker exec -t -i homeassistant /bin/bash
- I edit /usr/src/homeassistant/homeassistant/components/velux/cover.py
- reboot and test my modification
I have created inside my config directory a “/custom_components/velux/cover.py” directory and file but this does not override the original “cover.py” file.
What are the best practises to modify & test components?
The way I do it now is very slow.