Kasa HS220 smart dimmer to trigger an automation?

I got a Kasa HS220 smart dimmer.
Besides on/off the button it differs into long press and double tab.

I’m wondering if it is possible to use the double tab to trigger an automation to switch off all my lights?

Any ideas?