Write your Whatsapp message from Home Assistant
A WhatsApp API client that connects through the WhatsApp Web browser app
NOTE: I can't guarantee you will not be blocked by using this method, although it has worked for me. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.
Install add-on from this repository:
https://github.com/giuseppecastaldo/ha-addons
Start the add-on and in a few seconds you will see a persistent notification with QRCode, please scan this one with Whatsapp Mobile app.
After add-on installation restart Home Assistant and then copy the following code in configuration.yaml
whatsapp:
Then restart Home Assistant. If all went well you will se a whatsapp.send_message service.