Nest Doorbell: Control chime via automations?

I’ve since replaced the Nest with an Amcrest that was a local API and was able to accomplish this: Assistance silencing my doorbell - #10 by goyney