Different action for fan.increase_speed and fan.decrease_speed in Fan Template

Hi,

I’m using a broadlink remote to send IR signals to a dumb fan. I’ve set it up to be able to do every button on the remote. However, after searching through these forums and Google, I still can’t find an answer to the following question:

Is there a way for me to use a fan template where when I receive a fan.increase_speed command from HA, that it can call the script called (for example) script.faster, and when I receive a fan.decrease_speed command from HA, that it calls the script.slower?

So far, the template seems to only work with percentages, and even my attempts at preset modes seem to still involve percentages and not a simple script.faster or script.slower.

Thanks.

ben