Smart Thermostat for Electric water heaters – Freeze Protection