Product Link: https://amzn.to/2GSVtfU

setup_3_button_dimmer

Backlog and rules setup (Paste into the console window):

backlog 
setoption32 10; 
switchmode1 6; 
switchmode2 5; 
switchmode3 5;
rule1 on switch3#state=2 do dimmer + endon 
on switch2#state=2 do dimmer - endon 
on dimmer#state do VAR1 %value% endon
on VAR1#state>19 do power2 1 endon 
on VAR1#state<20 do power2 0 endon 
on VAR1#state>39 do power3 1 endon 
on VAR1#state<40 do power3 0 endon 
on VAR1#state>59 do power4 1 endon 
on VAR1#state<60 do power4 0 endon 
on VAR1#state>79 do power5 1 endon 
on VAR1#state<80 do power5 0 endon;
rule1 1;
backlog
rule2 on Power1#State=0 do power1 0 endon 
on Power1#State=0 do power2 0 endon 
on Power1#State=0 do power3 0 endon 
on Power1#State=0 do power4 0 endon 
on Power1#State=0 do power5 0 endon 
on Power1#State=1 do VAR1 %var1% endon; 
rule2 1;