Is there such thing as automatic hot cold water mixing valve?
These are also known as “thermostatic” valves and are used on showers, but also for hot taps in schools, hospitals etc to limit the hot water to a defined safe limit. This is usually around 46 degrees C.