Home Assistant custom component that creates a Notify service to send a command to a MySQL server.
- Ability to send commands to a MySQL server using the Notify platform / service
https://community.home-assistant.io/t/how-do-i-call-an-insert-sql-command-to-mariadb-addon/
In configuration.yaml:
notify:
- platform: mysql_command
host: 192.168.1.20
db: your_db
username: your_user
password: your_password