Any way to toggle a light from 100 to 50 and back again

hi does anyone know how to toggle a zigbee bulb from 100 percent to 50 percent and back with a single button press.
thanks
martin

never mind ive figured it out ,
a virtual switch to controll the 100/50 percent and the button toggles the virtual switch

3 Likes