<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 write_register(self, address, value, skip_encode=False):
 """Write a modbus register."""

        await self._request('write_registers', address, value, skip_encode=skip_encode)