How to invoke automation at value update

Hi and welcome to the forum.

Can you please share the YAML config for this automation?

Correctly formatted for the forum (see point 11 here).