Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106705

Automation Action Works When Run Manually But Not When Triggered

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 106705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>