5 minutes of searching revealed that replacing the exact ballast for my aquarium lamp costs HALF a new lamp. So instead of buying a new lamp I bought two replacement ballasts. After they arrived I spent 10 minutes replacing the faulty one and my lamp works like new. It's great that I found the right part so quickly. It works great.
Lamp LED Xiaomi Mi Smart LED Bulb Essential (MJDPL01YL), E27, 9 W, 6500 K
113 Review
Lamp LED Xiaomi Mi Smart LED Bulb Warm White (XMBGDP01YLK), E27, 8 W, 2700 K
26 Review
Smart socket Yandex with Alice, black
30 Review
Lamp LED Yeelight Smart LED Bulb 1S, YLDP13YL, E27, 8.5 W, 6500 K
43 Review