def _set_dhw(self, data):
        headers = dict(self.client.headers)
        headers['Content-Type'] = 'application/json'
        url = 'https://tccna.honeywell.com/WebAPI/emea/api/v1/domesticHotWater/%s/state' % self.dhwId

        response = requests.put(url, data=json.dumps(data), headers=headers)
dataset/ETHPy150Open watchforstock/evohome-client/evohomeclient2/hotwater.py/HotWater._set_dhw/original