def decode(self, data):
        """ Decodes a write coil request

        :param data: The packet data to decode
        """
        self.address, value = struct.unpack('>HH', data)
        self.value = (value == ModbusStatus.On)