Unifi Dream Machine reset trigger

I have recently installed a Unifi system controlled by a dream machine. This is integrated into HA via the Unifi Network and I have a button.dream_machine_special_edition_restart entity that receives a date change when the machine is restarted.

If externally I restart the Dream Machine, maybe via the Unifi app, I would like to trigger a flow to restart other non Unifi devices that are in the system, such as TPLink switchers.

Before unifi, I used a zigbee plug socket change connected to my router to trigger this flow. That was via an Edit Trigger: State node and not ideal but my BT Router did not integrate nicely with HA so it was a workaround.

I checked whether I could change this node just to use the button.dream_machine_special_edition_restart but the entity was not available for selection. I did also try an Edit Events: State node but the same issue occurred. I am not sure I understand why a “button” state does not appear to be available and how to trigger a flow from this state change.