This thread is for On/Off switch, 14291. There is a separate thread and device handler in the link below for the dimmer 14294.