I used the Controller app to create an automation that triggers upon press of my Logitech doorbell button. Then I converted it to a Shortcut so that upon doorbell press, my dining room lights will flash. Real cool. So the light is Set on or off and then reversed depending on the light status.

Ryan Mikulovsky @kurite