Most water heaters can have a manual timer added to help save energy while away, but I haven’t seen a good IOT option for this yet. For the most part they’re a on/off relay.
It could work in conjunction with the motion sensors and the upcoming thermostat schedule to know if/when someone is home.