Android actionable notifications

it should be __init__.py

That what I did. I have solved it. I’m sorry the “_” symbol I had wrong…
Thank you

1 Like

I’m seeing a different but maybe related error since upgrading to 0.92:

Integration fcm-android not found when trying to verify its notify platform.

This appears both in the log on start-up and if I use the Hassio configuration validation service. I tried adding an empty __init__.py as described at the link below, but that had no effect.

1 Like

Same issue here, on the same home assistant version of 0.92

Damn I am getting the same error,

I just got this working :frowning:

Maybe I will roll back to my last snapshot before I upgraded

Try creating a file in the same library named manifest.json with the following code:

{
  "domain": "fcm-android",
  "name": "Ariela Client Home Assistant Notify",
  "documentation": "https://github.com/MCrissDev/HANotify",
  "dependencies": [],
  "codeowners": [],
  "requirements": []
}

Otherwise keep an eye open when Ionot will post a guide here tomorrow:

1 Like

I’m using just HANotify, not Ariela. I can confirm that the same basic fix of creating a manifest.json file under custom_compenents/fcm-android appears to work. The error is gone and notifications are working again with the file content modified as follows:

{
  "domain": "fcm-android",
  "name": "Home Assistant Notify",
  "documentation": "https://github.com/Crewski/HANotify",
  "dependencies": [],
  "codeowners": [],
  "requirements": []
}

Thanks!

3 Likes

I’ve created the folder /config/custom_components/notify and put the fcm-android.py in there and then in by configuration.yaml file I have

notify:
  - name: android
    platform: fcm-android

I then but I get the error ‘Integration fcm-android not found when trying to verify its notify platform.’

I am using Hass.io 0.92

Any idea’s what I am doing wrong?

tried creating the manifest.json file but still get the same error.

Thanks

Read the posts above yours.

Yea as I said, I tried creating the manifest.json file and still had issues, I will give it another go though.

EDIT: OK just created the maifest file and the the init file and no errors this morning, strange it didn’t work yesterday, I was obviously doing something stupidly wrong

EDIT 2: ok the config check was clear but when I restarted hasio I got an error about setup.py,

Error during setup of component notify
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 156, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
AttributeError: module 'custom_components.notify' has no attribute 'setup'

How to make it in ios, my wife use ios and i use android

Use notify.ios to send notifications for iPhones

Just curious, the target unnamed device_2 is phone entity id?

Where could I get this info?

Thanks.

Can u help me detail
what is the app install in ios

Kindly refer to this link for more info:

1 Like

I has copy file notify.yaml to /custom_components/fcm-android/
Creat init.py and manifest.json , edit config file
notify:
- name: android
platform: fcm-android
and retart but i check in don’t have service notify.android
Thanks

I’m having the same issue, no notify android service

I’m having the same issue.

I can confirm this works,

Thank you

1 Like

After 0.94 i get alot of errors using this, however it works but really annoying with all the errors about connections that cant be made