More options (popup) for switch

Is there any way to get more options for a switch? Like the lights have a brightness slider, but for any switch?