Blueprint For Sonoff SNZB-01 for Matter

Check the device created by Matter to see if it includes an event entity for the button press. If it does you can automate off that similar to what is described in: