Home Assistant can definitely do this. I just now successfully got my HA connected to an Aqara Zigbee button (which, hilariously, only briefly functioned when I was using it with Aqara's garbage hub).
Or say “hey google disable ad blocking” and triggering it. Then google learning of this and doing it all the time behind your back