Replies: 4 comments 1 reply
-
Is this possible already ? I also would like to use prechange / postchange data in webhook conditions.. |
Beta Was this translation helpful? Give feedback.
-
I'm also wondering if this is possible? |
Beta Was this translation helpful? Give feedback.
-
hey, any updates here? |
Beta Was this translation helpful? Give feedback.
-
I think only the data gets validated, not the snapshots. |
Beta Was this translation helpful? Give feedback.
-
Hi all!
In webhooks you can use
snapshots
data in Jinja2 templates. My question is: is there any way to accesssnapshots
attributes in the Conditions JSON of a webhook? Use case: I'd like to write a condition that is true when a device is renamed. It could look something like this:According to the docs this isn't possible. Is there any other way to catch a renaming event in a condition?
Beta Was this translation helpful? Give feedback.
All reactions