Hey all, is there any way to react to bona-fide errors in automations that are nor readily checkable beforehand like this one: Received a different content type than expected: Expected type 'image/jpeg' but received 'text/html', response: [ { "cmd" : "Snap", "code" : 1, "error" : { "detail" : "device offline", "rspCode" : -99 } } ]
#Error handling in automations
1 messages · Page 1 of 1 (latest)
see https://www.home-assistant.io/docs/scripts/#continuing-on-error .... unless you were looking for a real catch/throw kinda thing.
does that set any kind of flag I can react to in subsequent actions or conditions?
I don't think so, unfortunately. you can see some alternatives that are not quite hacks in this discussion thread: https://community.home-assistant.io/t/notify-on-error-continue-remainder-of-automation/621540/24