This is an interesting topic. I've been thinking about building a hot tub heater control for mine with an ESP32, a high voltage/high current DPDT relay, plus a couple Dallas 1-wire temp sensors. I'm already using ESPHome and Home Assistant for various DIY controls and monitoring. While this won't do anything to reduce the total electrical consumption, I'd use it to shift when the heater runs to avoid importing from the grid during peak rates and make better use of our grid-tied solar as export tariffs continue to drop. Setting up the relays normally closed will be a fail safe so things run factory-normal if my project goes offline, as well as using the temp sensors to prevent temps from going too low. In addition to monitoring, this would allow some additional automation opportunities too. If I get around to this project I'll try and remember to post up a thread here.