Trigger a HA Automation from NSPanel

Hi:

Is there a way to trigger a HA automation from NSPanel. I was thinking in creating some sort of virtual switch in Ewelink and then track its state from HA to trigger a automation, but haven’t found a way to do it.
Thanks!

German