def set_humidity(self, index, humidity):
body = {"<STR_LIT>": {"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": self.thermostats[index]['<STR_LIT>']},<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": int(humidity)<EOL>}<EOL>}}<EOL>log_msg_action = "<STR_LIT>"<EOL>return self.make_request(body, log_msg_action)<EOL>
Set humidity level