Unable to load integration - Missing tinytuya
Closed this issue · 3 comments
When I try to setup tuya-local, it does not start the config-flow but gives the following error in the logs:
Error occurred loading configuration flow for integration tuya_local: No module named 'tinytuya'
I installed tuya-local by adding it as a custom repository to HACS.
Is there a way to get tinytuya to load? Using the linuxserver/homeassistant container.
Thanks!
Sorry, I cannot offer support for exotic installation methods. On HA OS, they have a wheels repository that takes care of dependencies, and since this dependency is declared in the manifest I'd expect that to work. But I don't know how the various other alternate HA installation methods work with regards to dependency handling.
Thank you for your explanation, I'll inquire with the linuxserver-team.
I'll also put the solution here for future reference. Adding the following two lines to the environment variables in the docker-compose fixes it:
- DOCKER_MODS=linuxserver/mods:universal-package-install
- INSTALL_PIP_PACKAGES=tinytuya