Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 88.0+ Custom Components structure #9

Open
drewrox2009 opened this issue Mar 8, 2019 · 1 comment
Open

Support for 88.0+ Custom Components structure #9

drewrox2009 opened this issue Mar 8, 2019 · 1 comment

Comments

@drewrox2009
Copy link

I can see that you haven't worked on this project in a while, which i understand it works smoothly. I am just getting anxious on the approaching drop in support for the older structure. I am not sure what is required to change in the python file to support the new layout.

@jojo416
Copy link

jojo416 commented Aug 6, 2019

If anyone else is reading this, to get HANotify working again,
you need to create a "fcm-android" folder in the custom_components directory.

<config>/custom_components/fcm-android

in it, you need to add:

  • the old 'fcm-android.py' file renamed to notify.py
  • a blank file named __init__.py
  • a file named manifest.json containing
{
    "domain": "https://github.com/Crewski/HANotify",
    "name": "HANotify",
    "documentation": "https://github.com/Crewski/HANotify",
    "dependencies": [],
    "codeowners": ["@Crewski"],
    "requirements": []
  }

Then restart Home Assistant and you should be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants