rogro82 / io.homeassistant

Home-assistant integration for Homey
GNU General Public License v3.0
24 stars 14 forks source link

Custom_component: No setup function defined. #3

Closed GreyEarl closed 4 years ago

GreyEarl commented 4 years ago

After adding the custom component and declaring the homey platform in the home assistant configuration I get the following error after a reload:

Setup failed for homey: No setup function defined.
12:41 AM setup.py (ERROR)

Any idea what I'm doing wrong? I put homey.py and related files in the custom_component folder.

GreyEarl commented 4 years ago

Please disregard. Should not have been using the script in homey.py, but __init__.py