I have an automation that is triggered by an entity state change. The action calls a service that in turn calls a mariadb stored procedure. If I run the action manually via the automation edit page, it works as expected. If I trigger the entity state change via the developer console, the automation is triggered and in the trace I can see that it ran the action but the action does not work. There are no errors either in the logs or trace. This is my automation yaml:
description: ""
trigger:
- platform: state
entity_id:
- sensor.withings_weight
condition: []
action:
- service: notify.mysql_command_homeassistant_db
data_template:
message: CreateStatesTempTable
mode: single
1 post - 1 participant