-
Hi, I've phrased the question in a generic way, but to elaborate: I'm using the API to execute the DeployStack function from Home Assistant. This works, but the response is always of the form:
This response is given even when the function fails, e.g.:
I've looked at alerters, but these only cover 'alerts' while the error message above is classified as an 'update' within Komodo. Is there a way to notify Home Assistant of a failed 'DeployStack'? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Execute call will return immediately with the current update data, including update id, before the execute call actually runs. So it gives status: InProgress. For code to get when the Execution finishes, there are two ways.
|
Beta Was this translation helpful? Give feedback.
-
For 1, the update id is available on the response as |
Beta Was this translation helpful? Give feedback.
-
I've tried it in multiple ways, but I can't get the On Windows with jq: |
Beta Was this translation helpful? Give feedback.
Hm, you initially mentioned DeployStack as the api. Correct the IfChanged method will not return id, because at the time the function needs to return it does not know if an actual update needs to be created. You will notice there may not always be an update for this method.