Set up 2412N

Can any one walk me through how to create a simple ON/OFF, Fade up/down command for a light. I have been able to switch a light on, simple enough. But I’m curious to know how to integrate all the commands into a single icon.