Find a dumb dehumidifier you like and put it on a smart plug. They pretty much all remember their previous state after a power outage.
Or go full on with DIY control like I did: Smartifying a Dehumidifier with ESPHome (probably overkill for your needs).