openlumi / homeassistant_on_openwrt

Install Home Assistant on your OpenWrt device with a single command
MIT License
157 stars 43 forks source link

Adding components #2

Closed MSITETOP closed 3 years ago

MSITETOP commented 3 years ago

Hi, how to add components and configs? How configs miio component? I deleted the integration weather, how do I get it back?

Zoolombo commented 3 years ago

I have the same questions

devbis commented 3 years ago

You have to download tar.gz from https://pypi.org/project/homeassistant/2021.1.5/#files Then extract the content and copy the required components to /usr/lib/python3.7/site-packages/homeassistant-2021.1.5-py3.7.egg/homeassistant/components

If the component uses the frontend wizard, you may want to uncomment the corresponding line in /usr/lib/python3.7/site-packages/homeassistant-2021.1.5-py3.7.egg/homeassistant/generated/config_flows.py also.

devbis commented 3 years ago

I added a note to the main instruction https://github.com/openlumi/homeassistant_on_openwrt/commit/4e49c70411564d8e4c4b2d75b828f24c1b377cb6