<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 digital_write(self, command):
 """ This method writes a zero or one to a digital pin. :param command: {"method": "digital_write", "params": [PIN, DIGITAL_DATA_VALUE]} :returns: No return message.. """

        pin = int(command[0])
        value = int(command[1])
        await self.core.digital_write(pin, value)