You can use automations to push buttons, so if something works as a button, it will work with an automation.