Custom logic and GPIO

Is it possible to add custom logic to the main loop, add a plugin or some way to take advantage of the additional GPIO pins on my device? Specifically, I would like to add two linear actuators to my WLED project. They are going to be triggered by a sensor. Super bonus points if they could be triggered via some WLED standard notification channel.

The right way to do that is through a usermod.

@tonyno Thanks for the suggestion. I was just looking into the usermods. It looks like a super simple way to add functionality.