Smart outlets that support dimming. You also need a dimmable bulb, but these are generic and cheap compared to a smart bulb.