It is fine to use a Tankless Water Heater on Shabbat, because when you turn on the hot water, there’s a delay of two to 12 seconds before the heater goes on. That’s a gramma just like opening your fridge.