#Failed automation notification?

1 messages · Page 1 of 1 (latest)

unborn halo
#

Is there a way to trigger a notification when an automation fails to run?

worn night
#

how would you know?

unborn halo
#

given automations track it in traces, logs, etc, i would assume they would just fire a trigger, but can't find one (I see some people asking for one from a while ago)

worn night
#

if an automation doesn't trigger, there's nothing to notify about

unborn halo
#

Sorry, when it doesn’t actually complete because of an error from something, not when it doesn’t run in the first place

#

I changed some camera things that broke a service call from an automation and didn’t notice for a while

worn night
#

I don't think there's a straightforward way to do that. You can use continue_on_error: true to not have the automation stop due to errors and then notify that it was successful, or set an input_boolean at the end to true to indicate that it completed, and then notify if the automation was triggered but the input_boolean was never set to true. Or other similar strategies