I’m working on a new component, but for some reason the requirements from manifest.json is not loaded.
Isn’t it supposed to load these requirements automatically on first run with the component in place?
manifest.json
{
“domain”: “landroid_cloud”,
“name”: “Worx Landroid Cloud”,
“documentation”: “https://www.home-assistant.io/components/landroid_cloud”,
“requirements”: [
“pyworxcloud==1.0.1”
],
“dependencies”: ,
“codeowners”: [“@MTrab”]
}
Error:
2019-05-29 13:41:24 ERROR (MainThread) [homeassistant.setup] Error during setup of component landroid_cloud
Traceback (most recent call last):
File “/home/landroidcloud/home-assistant/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/home/landroidcloud/home-assistant/homeassistant/components/landroid_cloud/init.py”, line 64, in setup
import pyworxcloud
ImportError: No module named ‘pyworxcloud’