Valve assembly for connecting a heat exchanger of a hot water discharging device to a district heating system