dels78 / home-assistant-device_tracker.edgeos

Home-Assistant device_tracker component for Ubiquiti Edgerouter devices
17 stars 4 forks source link

Integration edgeos not found when trying to verify its device_tracker platform. #1

Closed JunShine closed 5 years ago

JunShine commented 5 years ago

I just updated to HA0.92, and now I get a error: Integration edgeos not found when trying to verify its device_tracker platform.

iptvcld commented 5 years ago

I am having the same issue..

damien67 commented 5 years ago

What version have you guys updated from? 0.88 brought changes in the folder structure for custom components.

https://hasspodcast.io/ha044/

Important changes if you’re using custom components Home Assistant is moving to a new file structure, which may impact custom components which override a built-in Home Assistant platform. As an example, if you’ve developed a custom component which overrides the built-in Philips Hue component, you’ll need to rename your custom component from light/hue.py to hue/light.py

iptvcld commented 5 years ago

So then would it be edgeos/device_tracker.py

On Tue., May 7, 2019, 5:51 p.m. damien67, notifications@github.com wrote:

What version have you guys updated from? 0.88 brought changes in the folder structure for custom components.

https://hasspodcast.io/ha044/

Important changes if you’re using custom components Home Assistant is moving to a new file structure, which may impact custom components which override a built-in Home Assistant platform. As an example, if you’ve developed a custom component which overrides the built-in Philips Hue component, you’ll need to rename your custom component from light/hue.py to hue/light.py

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dels78/home-assistant-device_tracker.edgeos/issues/1#issuecomment-490268394, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJUU7W52JYNK5HLTB6LUXTPUH2VTANCNFSM4HJBMMTQ .

damien67 commented 5 years ago

So I have: Folder "custom_components", in which I have a folder called "edgeos", in which I have a "device_tracker.py" file. I am currently on 0.91.1 and had to modify all this moving to 0.88. I have not updated to 0.92 yet. Please let me know if that works, so that I know I can upgrade safely (will probably wait for 93 at this point).

Hope it helps!

iptvcld commented 5 years ago

I am on on .92.2 and i am still getting the below error: Integration edgeos not found when trying to verify its device_tracker platform. Folder = custom_components\edgeos File = device_tracker.py

I get the error in HA when i click on check config

JunShine commented 5 years ago

thanks everyone! I found some information .. here... https://developers.home-assistant.io/blog/ https://developers.home-assistant.io/docs/en/creating_integration_manifest.html The 0.92 version look so different。I installed it back to 0.86......

iptvcld commented 5 years ago

Is there a fix for this?

iptvcld commented 5 years ago

Any updates on this on when this can be fixed?

damien67 commented 5 years ago

@iptvcld Figured it out. Upgraded yesterday to 0.92 and realized my logs weren't showing the usual "You are using a custom integration for edgeos which has not been tested by Home Assistant....". You have to add a empty file called init.py in the "edgeos" folder (next to device_tracker.py). Once I added the file it worked again.

iptvcld commented 5 years ago

Thanks for the reply - i have the below in the config and i am still getting the same error in the forum:

Folder Layout: custom_components\edgeos Files: device_tracker.py and init.py

Any help would be great!

iptvcld commented 5 years ago

NVM.. i rebooted my VM and was able to get it to work. Thanks again!