rogro82 / io.homeassistant

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

Can't find custom component #8

Open dannymertens opened 4 years ago

dannymertens commented 4 years ago

404 error

https://github.com/rogro82/io.homeassistant/blob/master/custom_component/homey.py

RonnyWinkler commented 4 years ago

Hi, I'm missing the component, too. Is it not longer existing?

klim123123 commented 4 years ago

https://github.com/rogro82/io.homeassistant/tree/master/custom_components/

RonnyWinkler commented 4 years ago

https://github.com/rogro82/io.homeassistant/tree/master/custom_components/

But there is no file named "homey.py"

klim123123 commented 4 years ago

You don't need homey.py Just copy homey folder to config\custom_components\ on your HA You can take homey folder here https://github.com/rogro82/io.homeassistant/tree/master/custom_components/

klim123123 commented 4 years ago

@rogro82 please fix instructions on main page. thank you!

clipse2004 commented 3 years ago

i copied the folder to my custom components, but my HA says always „no Integration names homey available“. Did this work actually?

klim123123 commented 3 years ago

i copied the folder to my custom components, but my HA says always „no Integration names homey available“. Did this work actually?

please check if your folder looks like this: image

clipse2004 commented 3 years ago

Hello kim, Yes Looks Same like yours, but without the pycache folder. heres a Screenshot:

IMG_3123

klim123123 commented 3 years ago

Try to use Samba connection instead of File editor.

clipse2004 commented 3 years ago

Hi, copied it with Samba Connection, I just looked at it again over it and copied it again.... Looks the same and also no change. Whenever I want to create a set like in the example, the error message "integration homey not found" comes up.

klim123123 commented 3 years ago

Please send screenshot with what you created and location of this.

clipse2004 commented 3 years ago

I downloaded the complete folder from here: https://github.com/rogro82/io.homeassistant downloaded

and only copied under custom_component the folder to here: custom_ha after this i tried this under "packages": homey and got this error: error

i hope that helps :)

big thx

klim123123 commented 3 years ago

Why you put homey.yaml in packages? Where do you get this instructions? You should do this configuration in /config/configuration.yaml

clipse2004 commented 3 years ago

It doesnt matter if it’s under packages or in the configuration.yaml result is still the same!

djfanatix commented 2 years ago

I have the same error, did you managed to fix it?

clipse2004 commented 2 years ago

Hello, no didnt fix it. But the Integration on homey worked with Home Assistant. However, I have now sold my Homey

djfanatix commented 2 years ago

problem found, the version is not mentioned in the manifest

jkellerm commented 2 years ago

I was struggling a bit as well with this. Made it work (well sort of) by:

  1. Copy the custom component files to the homey sub folder of custom components
  2. restart HA
  3. Edit configuration.yaml according to your needs
  4. restart HA

Now I can see the custom component in HA. Unfortunately, the Home Assistant app in Homey does not see any custom components to import. Stuck again. Suggestions as to how to proceed are welcome.

Update:

The manifest is outdated. I think version and iot_class are mandatory now. Update the manifest.json with content below and you are good to go:

{ "domain": "homey", "name": "homey", "codeowners": ["@rogro82"], "documentation": "https://github.com/rogro82/io.homeassistant", "version": "0.0.1", "dependencies": [], "requirements": [], "iot_class": "local_push"

}