Not working either with that format are we missing the manifest.json ? I created one but still no luck
Yes, I corrected the breaking change to custom components when it was first changed. Something broke between 0.92 and 0.91.4.
Did you put the manifest in the google_geocode folder or the sensor folder? I have not updated my config yet so canāt test yet.
It looks like there is issues with other custom components moving to 0.92. Issue has not been fully resolved on this post
Yes I did, but not working other custom components are working fine ā¦
have you tried adding an empty __init__.py
file to the folder for the custom component
Iāve rolled back to 0.91.4. Iāll wait until they get the custom components fixed.
I have just updated to 0.92. I added the manifest.json file in my google geocode folder and everything worked as it should.
My file structure is custom_components>google_geocode
In that folder I have my hass generated pycache folder, manifest.json file and sensor.py file
My manifest.json file looks like this.
{
"domain": "google_geocode",
"name": "Google Geocode",
"documentation": "https://github.com/michaelmcarthur/GoogleGeocode-HASS",
"dependencies": [],
"codeowners": [],
"requirements": []
}
Does not work for me. Created a manifest file. But neither .yaml nor .json works.
What could be wrong?
try creating an empty __init__.py
file in the same directory as the component
thats a double underscore before and after init
The name should be manifest.yaml or manifest.json?
It should be manifest.json. Iāll
Correct my previous post
Ok, correctā¦
Has anyone else managed to get the component to work?
If you are having issues can you post your error log? Thanks
All right here, after the manifest.jso file. Tks
I added a manifest similar to yours and it works.
Thank you
Ok, even I rolled back , I managed anyway to make the component work now.
Interesting thing: I got two warnings now after the restart:
Fri Apr 26 2019 17:01:06 GMT+0200 (MitteleuropƤische Sommerzeit)
You are using a custom component for google_geocode.sensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant
and
Fri Apr 26 2019 17:01:06 GMT+0200 (MitteleuropƤische Sommerzeit)
You are using a custom component for google_geocode which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
The Google.geocode error is normal as itās a custom component. The google.geocode.sensor looks like it think there is another custom component named google.geocode.sensor. Thatās strange, Iām not sure why thatās happening.
Maybe completely unrelated, but the Google device_tracker includes the same (address) attribute.
Ok, so there is definitely a difference between 0.91.4 and 0.92.0/1 causing issues with this component. Iāve got everything set up properly with the init.py and manifest.json. Iāve made sure Iāve got the latest version of the geocode script. If I disable the component 0.92 loads fine. If I enable it, HA freezes during startup, never finishing. Iāve verified it to be this component causing my hang by disabling every custom component I have and trying to start 0.92 with only one of them enabled. The only one that causes the hang is google_geocode. If I roll back to 0.91.4 without changing anything in the config, everything loads fine.
Problem is, the log gives no error for me. It just stops.