<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def async_set_config(self, data):
 """Set config of thermostat. { "mode": "auto", "heatsetpoint": 180, } """

        field = self.deconz_id + '/config'
        await self._async_set_state_callback(field, data)