manish custom notifier allows you to send whatsapp notification using Whatsapp Cloud API
MIT License
manish custom notifier for HomeAssistant allows you to send whatsapp notification using Whatsapp Cloud API easily and with minimal configuration.
First youll need to follow the instructions on this page to:
Once youve done that, go to your app and set up the WhatsApp product.
Youll be given a temporary access token and a Phone Number ID, note these down as youll need them later. Set up your own phone number as a recipient and you can have a go at sending yourself a test message:
In the test message above, you used the hello_world template. Youll need to set up your own template for your own purposes. If you go to Message Templates in the WhatsApp manager you can build your own templates.
In the following example, i created a template for my smat home. The template header if fixed and so is the footer. in the body i added variable for dynamic text:
Once you're done with the above ,you're ready to start send notifications using manish.
manish is now part ot the Default HACS repositories list. Just add it from the Integrations list.
To use the custom notification, we need to add some linse to the configuration.yaml file.
notify:
- platform: manish
name: MaNish whatsapp notifire
target: # WhatsApp number for notificatin (Without the + sign of the country_code)
token: #T he token for the Whatsapp cloud API
phone_number_id: #Phone number id from the Whatsapp cloud API
template: # Template's name's to use
language: # Template's language
Restart HomeAssistant and you should see a new service :